How To Remove Date From Blogger URL In 5 Easy Steps

Remove “Date“, “Month“, “.HTML” from a blogger post URL:- No one likes the date and month in their website’s URL. So if you want to make your blogger posts URL like WordPress Website’s URL, you are in right place.

Before Proceeding with this ultimate method to remove date from Blogger URL or remove .html from the blogger URL, please read “The Pros and Cons of Removing Dates From Blog Posts” carefully. In the above-given link, you will understand the advantages and disadvantages of remove date and .html from any blogger website’s URL.

Is there a way to remove the year and month from the blogger URL?

The Answer is Yes, you can remove date and month from a blogger URL. It is possible by a pasting a script code in your blogger website’s header. The script is provided below in this guide.

Can we also Remove html from URL Blogger?

Yes! The script provided below will also remove “.html” from your blogger posts URL. It will remove “date”, “month”, & “html” from your blogger website’s URL or Permalink

Hello guys, Today we’re gonna share with you the script to remove Date & HTML from your blogger or Blogspot site URL. And going to show you how to implement this Date Remover Script From Blogger URL. And also going to share with you the experience or causes of the results Of removing Date & HTML from a blogger URL.

Step By Step Guide To Remove Date From Blogger URL

Before starting this process make sure to take the backup of your blogger website or your website’s theme backup. And we recommend you to not use this script in your blog website if you have an old website indexed in the google search engine.


Steps To Remove Date & .HTML From Blogger URL

Total Time: 3 minutes

Step 1. Go to Blogger Dashboard And Click On “Theme”.

go to your blogger dashboard and click theme in left navigation pane to open theme editor section

Step 2. Click On “More” Icon Next To Customize

to open blogger theme customizer click on option icon next to Customize button in blogger theme section

Step 3. Click on “EDIT HTML”

click on “EDIT HTML” button in Theme customizer options

Step 4. Find “<head>” tag in html element

click on next to <head> and press enter once & paste the provided code.

Step 5. Paste the provided code below head tag in html

Copy the above provided html code in header

Step 6. Click on Save button.

Last and final step click on “Save” button in top right corner of blogger theme html customizer.


  • Blogger Account


  • Date & HTML Remover Script For Blogger URL

Materials: Computer Desktop

Now check if this code is working or not

Notice:- Before you remove the date from the blogger URL along with .html, you must know a few facts. This tip is best for new bloggers who have just created their blog. Even though this is a safe method before you proceed please backup your blog first.

remove .html extension from url

Now open your website’s any blog post or page and you’ll see that there is no “date” in the URL and also there are no “.html” in URL like as you can see below is the screenshot of my Blogspot URL:

  • 1.Below in the image is the result of URL before implementing the script code in my blogger website
URL Result Before Placing Blogger Date Remover Script
  • 2. Below in the image is the result of URL after implementing the script code in my blogger website
URL Result After Placing Blogger Date Remover Script

Java Script Code to Remove Date From Blogger URL

To remove .html extension from url of Blogger Posts And Pages Copy the below-provided javascript code after the <head> tag of your Blogger website’s HTML Section (theme editor).

<script type='text/javascript'>
// 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="&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!})}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=""+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];,n){"alternate"[n].rel&&t.push([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();

We & Team InfoTech APB are not responsible if placing that script on your blogger website will cause errors or affect your SEO performance. Do it at your own risk. We stated all the advantages or disadvantages of this Operation for you.

How To remove .html extension from url?

Disclaimer: The code provided in this blog is designed to remove the month, year, and the .htm which are attached on Blogger permalink by default.

What happens when we Add Date Remover Script in Blogger?

When we add date remover script in blogger, it will not actually removed the date & html from blogger URL. But it will hide these two things from your blogger URL.

Is there another way to remove date from blogger post url?

No! There is no other way to remove date, month, and .html from the blogger post URL. You Can Only Hide Date From Blogger URL Permanently.

You May Like Related To This:

2 thoughts on “How To Remove Date From Blogger URL In 5 Easy Steps”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.