How To Remove Date From Blogger Post URL

How To Remove Date From Blogger Post URL

Hey, do you want to remove the Date from Blogger post URL and make it look like WordPress post URL?

Then keep reading, as I have shared the step by step way on How To Remove Date From Blogger Post URL

By default whenever you publish a new blog post, Blogger will add the year and the month in the permalink of the blog post

Blogger have automatic and custom permalink structure, but whatever you choose, it will add the time stamp on it and that permalink will also be shown in the SERP

Also Read:- Advance Blogger SEO Setting

So let’s see How To Remove The Date From Blogger Post URL

How To Remove Date From Blogger Post URL (Step By Step Guide)

1. Login To Your Blogger Dashboard

After you login, navigate to “Theme” section from your blogger dashboard

Blogger Blog Dashboard

2. Click On “Edit HTML”

Editing HTML In Blogger Blog

3. Find <head> Tag

Finding Out Head Tag

After you click “Edit HTML”, now press “Ctrl f” using your keyboard, then in the search bar put <head> and this will help you to find the head tag faster

4. Copy And Paste The Given Code Below The <Head> Tag

<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>

Copy this code and paste it just below the head tag, and that’s it now press “Save Theme”

Applying Code To Remove Date From Blogger Post URL

Advantages Of Removing Date From Blogger Post URL

So, at this point, you may have a thought that what is the advantage of doing this

Thus here are the advantages that you will get by removing the date from Blogger Post URL

  • It will make the permalink short making it SEO friendly
  • It will make your Blogger Post URL look like WordPress Post URL, and that looks professional
  • Makes your blog post evergreen by removing the time stamp
  • It lets you hide the published date of your blog post from your readers

Disadvantages Of Removing Date From Blogger Post URL

The use of this code will be risky for those who have a well-established blog and the articles are indexed and rank in SERP (Search Engine Result Pages)

So, I do not recommend this to bloggers who have a well established Blogger Blog

But if you are a new blogger and just started your blog, then you can use this method to Remove The Date From Blogger Post URL

Let me explain you, what this code actually do

This code will redirect your old URL to a new URL where the year and the months was removed from it

And the reason I say that it was risky for a well-established blog, because if your blog post is indexed in SERP with the time stamp in it and if you use this code to remove the date, then your previous permalink may create a 404 error

And that is very harmful for SEO

Remove Date From Blogger Post URL: FAQ

How do I remove the date and time from my Blogger post?

To remove the date and time from your Blogger post, navigate to “Layout” from your Blogger dashboard and then press Edit on “Blog Posts” section, now uncheck the boxes that contain date and time then simply press Save

How do I remove the date from Blogger post URL and make permalink format like WordPress?

Simply follow the steps mentioned above and you can easily achieve this

How do I change my blog post URL?

1. Sign in to your blogger account
2. From the Blogger dashboard click “Posts”
3. From the top left, click New Post
4. On the right-hand side, under “Post Settings”, click on Permalink
5. Select “Custom Permalink”
6. Enter the URL you want to use
7. Click Done

Conclusion

So, this is how easily you can Remove The Date From Blogger Post URL, but remember do not use this code if you have a well-established blog

And do share this with your friends, & if you can any issue, put it down in the comment section

No Responses

Write a response

Share via
Copy link
Powered by Social Snap