How To Remove The Date and HTML From The Blogger Post URL

Remove date and .html from Blogger Post URL: If you are newcomers, want to start your blogging website then BlogSpot is the best platform for you. But, there are some SEO factors you will have to implement in the Blogspot. And one of them is to remove the date from the blogger URL.

Here is the Blogger Post URL:
https://techeblogtalk.blogspot.com/2020/02/how-to-add-your-wordpress-site-to.html

As you see the above blogger URL, by default the blogger adds the date and HTML at the end of the blogger URL. So, you have to make the URL SEO friendly.

blogger date url

https://techeblogtalk.blogspot.com/2020/02/how-to-add-your-wordpress-site-to.html
https://techeblogtalk.blogspot.com/how-to-add-your-wordpress-site-to

The second URL is SEO friendly as well as user friendly.

 

Before continuing how to remove the date from Blogger URL, we will have to clear some basic terms such as URL, and permalink.

What is the URL?

Surprisingly to many, URL is the same as a domain name. But this concept is wrong, there is a difference between the term URL and domain. Actually, the domain is the part of the URL which stands for Uniform Resource Locator.

A URL incorporates the domain name, along with other detailed information including the protocol, paths to create a web address (complete address) to direct a browser to a specific page of a website called a web page. In short, it’s a set of directions and every web page has a unique URL.

 

What is a permalink?

A permalink is a permanent link or permanent URL of a post or webpage that is intended to remain unchanged in the future. It must be user friendly and easy for people to type and remember. And also don’t change the published post permalink unless you are writing a new post.

What are the benefits of removing the date from the blogger post URL?

  • The URL will be short.
  • Remove date the the blog post URL makes your content evergreen. 
  • The users will not know the published date.
  • It makes the URL shorter which helps in organic ranking
  • It gives professional look to the content URL

What are the disadvantages of removing the date from the blogger post URL?

If you change the post URLs, Google will be confused with both the URLs. And your post ranking may go down. So, the best way while changing the URLs is to permanently redirect (301) the old to new.

Let for an example to understand in better way, If any of your content is ranked on Google with the date in the URL. And after changing the URL or removing the date from the URL make your old URL (with date) 404 which means not found. When the users come on the old url they found nothing on that page and it affects the ranking of that content on search engine. So, use permanent redirection i.e. 301 to redirect the old url to the new one. 

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

Step 1:  Log in to the Blogger account and click on the Theme which is on the left-hand side.

blogger theme

Step 2: Now click on customize and then hit on edit HTML.

 

blogger url customize
blogger edit html

Step 3:  After that find out the head tag with the help of Cntrl + F.

blogger edit html head tag

Step 4: Now, it’s time to paste the given code after 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>

blogger edit html script paste

Step 5: Click on Save. Now, the URL will be

blogger header changes

 

FAQs About How To Remove The Date and HTML From The Blogger Post URL

1. How do I remove date from WordPress Permalink?

Click on the Setting >> Permalinks. Select the name option and click on save changes.

2. Can I remove .HTML from URL?

It can be removed by editing the .htaccess file.

3. How do I insert date and time on Blogger?

Hit on the edit of the blog from where you can change the time and date stamp.

More Resources:

> Cannibalization: How to Identify & Fix Keyword Cannibalization to Boost SEO
> What is breadcrumb navigation for SEO?
> Mobile SEO Mistakes
How do we improve page speed- The Complete Guide
SEO Myths about website optimization

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook. Share eblogtalk informational articles with your friends and on social media. Thank you.

Suman Kumar is a writer with over 3 years of experience at eBLOGTALK. He is a full-time blogger who love writing with his passion for SEO, Technology, Blogs, Reviews, and link building strategy. He helps marketers and entrepreneurs to find the keys of online success and revenue growth without any huddle.

Leave a Comment