Subscribe Our YouTube Channel Subscribe Now

How To Remove Date From Blogger Post URL Or Permalink

How to Remove Date from Blogger's URL? Friends, to rank any post, along with content, keywords, and SEO-friendly URL is also required. For people who use WordPress, there are a lot of plugins out there that make it very easy to customize URLs. But the blogger does not have such a facility. Today in this article we will tell you how to remove the Date and Month from the blogger's URL.


Blogger is such a platform, which provides a platform to the people of blogging. The full control of Blogger is with Google, it is operated by Google itself. The best feature of Blogger is that here you can build a website for yourself without any investment, and for this, you neither need to buy any domain name nor do you need to buy web hosting. Because both these things are provided by Blogger for free.

{getToc} $tetle={Table Of Contents}

Before learning how to remove the date from the URL of a blogger's post, let me tell you about some of its disadvantages so that you do not have problems later.

How do Dates and Months come in Blogger Post URL?

When you write a post on Blogger, you will see that its URL contains Month and Year and .html. Which you do not find a little professional. As you see on WordPress. How can we remove the date from the URL of Blogger, we only know what code we need for this.

If you want to customize the URL of your Blogger post like the URL of a WordPress post. So for that, we have to follow some steps, let's know it in detail. Whenever we write a post on Blogger, it includes the date of publication of the post. Which looks like this.

But, whenever you write any post on WordPress, then the URL of that post is completely different from the URL of the blogger's post because here the URL of that post does not contain Date and .html. The URL of a WordPress post looks quite professional as compared to the default post URL of Blogger. something like this

Benefits of removing Date and Month from blogger post URL

  • Removing the date from the URL of the blog post in Blogger will make your post evergreen.
  • With this, the permalink of your blog post appears with a professional look.
  • Due to this, users do not know on which date this post was published.
  • This helps your post rank better.
  • Removing the date shortens the URL of your blog post.

Disadvantages Of Removing Date From Blogger Post URL

  • If your blog is very old then you do not have to remove the date, if you do this, then your post which is ranked on Google will lose its rank and your traffic will also go away.
  • If you have started a new blog, then you can remove the date, but I will not suggest you remove it and leave it as it is, it is better.
  • Deleting Date from Javascript means setting a redirection loop, you will only see that the date has been removed but the date is not removed, whatever is there in the blogger's system will remain the same.
  • Doing this can also affect your SEO.

How To Remove Date From Blogger Post URL Step by Step

Before removing the date from the URL of the post, once you see how the full URL looks before deleting the data.

Step 01:- Open the Blogger Dashboard and click on the Theme option.

Step: 1


Step 02:- After this, you will see an icon of three dots in the right corner, click on it and click on Edit HTML.

Step: 2


Step 03:- After this, the HTML code editor will open in front of you, now you have to press Ctrl + F from the keyboard and search </head>.

Step: 3


Step 04:- After this, exactly above the </head> you have to copy and paste the JavaScript code given below.

<script type="text/javascript"> //<![CDATA[ // BloggerJS v0.3.1 // Copyright (c) 2017-2018 Kenny Cruz // Licensed under the MIT License var 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>{codeBox}

Step: 4,5


Step 05:- After that, you have to save this file.

Now after following all these steps, when you refresh your blog post, you will see that the date and .html have been removed from the URL of your post.

About the Author

Best place to get information and about tech, youtube, facebook, whatsapp, online earning, blogging & SEO, gadgets, sarkari result, sarkari naukari.

2 comments

  1. It does not work on Seoplus template and many other templates, is there any other solution
    1. I will find other solution
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.