Do you know How To Remove Date From Blogger Post URL?
It's a simple Question that every blogger thinks of. It is because blogger is free service tool from Google which allows users to make free blog with a supported Domain "blogspot". I think you know that well,
But in today's article I will show you How To Remove Date From Blogger Post URL Without Hurting SEO. Yes, I have found the Best Solution to solve this issue that is Removing Date From Blogger Post URL.
Why Bloggers Need To Remove Date From Post URL
All Bloggers Wishes To make their Website/Blog Look Professional Like WordPress And Wix. But, Unfortunately they cannot do this due to lack of Plugins In Blogger Comparing To Other Sites like WordPress and Wix.But, if you know Basic HTML and CSS and little Javascript then of course you will be able to remove date from blogger post URL And make it Professional like WordPress and Wix.
The Blogger has by-default Date And .html in post URL that you cannot remove it, without opting for Html theme.
But I have Found One Solution and I'm going to guide you How To Remove Date From Blogger Post URL.
But before you know How To remove Date we should look upon The Advantages And Disadvantages of Removing Date From Blogger Post URL.
Advantages Of Removing Date From Blogger Post URL
- It makes post URL short and post permalink looks professional.
- Blogger couldn't identify, how old the article is.
- It helps in On-page SEO and also help in better ranking in Google Search Result.
Disadvantages of Removing Date From Blogger Post URL
- Only try this when your blog is new or have less published articles.
- If your blog is ranking on good position on google then removing this may affect your seo part.
- It may show 404 error telling there is nothing here.
- But don't worry I have tried in my another blog. It show 404 error but within millisecond it is redirected on post. So, don't worry about 404 error.
4 Steps To Remove Date From Blogger Post URL In 2021
In Quora (The QnA Website), I have seen that many bloggers have posted a question regarding How To Remove Date From Blogger Post URL. And I think this problem is common to every blogger. It is simply because others sites like WordPress and Wix doesn't have Date and .html in Post URL. Where as it exists only in blogger platform.
If we take an example, then tell me which looks professional :
Before Removing Date and .html
After Removing Date and .html
https://affizoo.blogspot.com/add-link-in-comment-section
I think you got it. What is the main function of this article.
Now, we should look on some advantages after removing date from blogger post URL.
The above mentioned are some benefits or advantages that you will get after removing date from post URL.
Doing All things correct doesn't gives 100% perfect, removing Date and .html from blogger post URL is good although it have some disadvantages that can exist some more problems.
So let me tell you some disadvantages that may occur after removing Date and .html from blogger post URL.
These above mentioned are some disadvantages that may cause problems in your blog.
But, Now we will See How To Remove Date From Blogger Post URL In A Step-By-Step Guide.
Now it's time to learn in a step by step guide to remove date from blogger post URL.
Step 1 :- Login into Blogger dashboard, and choose Theme section.
Step 2 :- In theme section click Edit HTML.
Step 3 :- Now find </head> in your theme and paste the below code just above </head> Tag.
<script type="text/javascript">//<![CDATA[// BloggerJS v0.3.1// Copyright (c) 2017-2018 Kenny Cruz// Licensed under the MIT Licensevar urlTotal,nextPageToken,postsDatePrefix=!1,accessOnly=!1,useApiV3=!1,apiKey="",blogId="",postsOrPages=["pages","posts"],jsonIndex=1,secondRequest=!0,feedPriority=0,amp="&"[0];function urlVal(){var e=window.location.pathname,t=e.length;return".html"===e.substring(t-5)?0:t>1?1:2}function urlMod(){var e=window.location.pathname;"p"===e.substring(1,2)?(e=(e=e.substring(e.indexOf("/",1)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../"+e)):(e=(e=postsDatePrefix?e.substring(1):e.substring(e.indexOf("/",7)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../../"+e))}function urlSearch(e,t){var n=e+".html";t.forEach(function(e){-1!==e.search(n)&&(window.location=e)})}function urlManager(){var e=urlVal();0===e?accessOnly||urlMod():1===e?getJSON(postsOrPages[feedPriority],1):2===e&&(accessOnly||history.replaceState(null,null,"/"))}function getJSON(e,t){var n=document.createElement("script");if(useApiV3){var o="https://www.googleapis.com/blogger/v3/blogs/"+blogId+"/"+e+"?key="+apiKey+"#maxResults=500#fields=nextPageToken%2Citems(url)#callback=bloggerJSON";nextPageToken&&(o+="#pageToken="+nextPageToken),nextPageToken=void 0}else o=window.location.protocol+"//"+window.location.hostname+"/feeds/"+e+"/default?start-index="+t+"#max-results=150#orderby=published#alt=json-in-script#callback=bloggerJSON";o=o.replace(/#/g,amp),n.type="text/javascript",n.src=o,document.getElementsByTagName("head")[0].appendChild(n)}function bloggerJSON(e){var t=[];if(useApiV3||void 0===urlTotal&&(urlTotal=parseInt(e.feed.openSearch$totalResults.$t)),useApiV3){try{e.items.forEach(function(e,n){t.push(e.url)})}catch(e){}nextPageToken=e.nextPageToken}else try{e.feed.entry.forEach(function(n,o){var r=e.feed.entry[o];r.link.forEach(function(e,n){"alternate"===r.link[n].rel&&t.push(r.link[n].href)})})}catch(e){}urlSearch(window.location.pathname,t),urlTotal>150?(jsonIndex+=150,urlTotal-=150,getJSON(postsOrPages[feedPriority],jsonIndex)):nextPageToken?getJSON(postsOrPages[feedPriority]):secondRequest&&(nextPageToken=void 0,urlTotal=void 0,jsonIndex=1,secondRequest=!1,0===feedPriority?(feedPriority=1,getJSON("posts",1)):1===feedPriority&&(feedPriority=0,getJSON("pages",1)))}function bloggerJS(e){e&&(feedPriority=e),urlManager()}bloggerJS();//]]></script>
Step 4 :- Now Save Your Theme, and it's all done. Now see live view in your website.
Note : Take a Backup of your blog before applying the above code. So, if anything goes wrong then you restore you website again without loosing any function.
I hope you have successfully implemented the above code. If not done, do it now and tell me how helpful the article was...
If you find any problems give comment in my comment section. It's totally free...
Also Read:
Conclusion
Congrats! Today you learned more about 4 Steps To Remove Date From Blogger Post URL In 2021 so always be the first to comment us and tell how helpful is this article.
Thanking you! For giving your precious time to us.
Please visit us again...