How To Remove Data & Time From Blogspot URL | On Blogspot New Interface

  • Post author:
  • Post category:Blogging
  • Post last modified:September 3, 2021
  • Reading time:4 mins read

Want to get rid of Blogspot’s traditional Date and time URL structure? And Want to use SEO friendly URL structure similar to WordPress?

if you do not know how to create a blog on Blogspot then don’t worry we are providing a free Blogspot course that is entirely designed according to the new interface of blogger.

URL of blogspot post

Don’t worry this post is for you! 

First let’s look at how we can remove date and time from Blogspot URL without any jargon, then later on we will discuss what are the disadvantages and why should we take this step.

You just need to do a few steps in order to change the URL structure of Blogspot (blogger).

Steps To Remove Data & Time From Blogspot URL:

  1. Login to Blogger.com Dashboard – at the left sidebar you will see a option “Theme” just click on it 
blogspot dashboard
  1. Now click on customize button and go to “Edit HTML”
blogspot dashboard pointing on edit HTML
  1. Enter the HTML section and search for </body> by pressing the Ctrl + F key combination. Check out the image below for a better understanding.
blogspot dashboard edit theme section
  1. Simply copy the code below and paste it before the closing body tag </body> 
<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>
paste code on blogspot theme editor
  1. Just click on the save button & you’re done!

By now, your URL structure has been changed from Blogspot’s traditional structure to the latest.

Also Read: How We Can Remove ?m=1 From Blogspot URL

Now latest take a look at why we should need to take this action is there any benefit for blog ranking?

Pros & Cons Of Removing Date & Time From Blogspot URL:

Pros

  • Removing Date From Blogger Blog Posts will make your content Evergreen.
  • Gives Professional Permalink to your Blog Posts.
  • It Won’t Let visitors know on which date the post is published.
  • Helps in the Better ranking is Search Engine Result Pages.
  • Make your Blog Post URL Short.
  • It will give professional look to your blog post.

Cons

  • If your blog posts are ranking in Google’s search engine results pages, you already have an established Blogger blog. Then, you shouldn’t take the risk of changing the Post’s URL.
  • it might affect the SEO of your blog. 
  • Your blog posts may have been ranked on Google with the old URL, but by using this method, the date has been removed from the URL. Now, the previous might through 404 error. This might negatively affect your site’s ranking.

The Bottom Line:

Hopefully, you have understood the method of how we can remove date and time from the Blogspot URL. if you have any confusion or face any error while placing code please feel free to drop a comment below. I am always here to help you out.

And also let me know whether this technique is positively effected your site or slap your site’s rankings

Abdul rafay

My Self Abdul Rafay Qazi a Blogging Scientist. I am a Full-Time Blogger with robust Skills of  Affiliate Marketing, WordPress, SEO & Social Media Marketing. I am here To Encourage New Blogger Aspirants And Help Them To Earn Their First Dollar $ From Online.

Leave a Reply