How do I change the publishing date on Blogger? || How to remove Date, Month and Year from Blogger Post's Url ? in hindi
How to remove Date, Month and Year from Blogger Post's Url. how to remove Date, Month and Year from blogger post url
Hello friends, do you have a website on Blogger? So you would also like how to remove the date from the url of blogger post. Because often we see people's website on google, neither date nor month is visible in their url. Let me tell you that it is a WordPress website, so the date and month are not visible in their url.
![]() |
How to remove Date, Month and Year from Blogger Post's Url. how to remove Date, Month and Year from blogger post url |
But today you will be able to remove both date and month from the url of blogger post through this post. Let us know how to remove blogger url date or month.
If you have made up the mood to remove the date and month from the url, then read this post very carefully till the end. If you do not read the entire post and make a mistake, then your blog google search engine can also be removed. If this happens then your very good blogger website can be annihilated.
Note - Friends, before removing the date month from the URL, let me tell you. If your website is old and your post ranks in a good position, then you should not do the work of removing date and month. Because this will change the url of all your posts. Due to which all your posts will be removed from google search console.
But if you have a new blog and you have not submitted it to google search console yet, then you can remove date or month from url by following this trick.
How to Remove Date or Month of Blogger Post Url.
Finally you have thought that you want to remove the date or month of blogger post url.
Benefits of removing month and date from blogger post
This will shorten the URL of all your posts.
Users will feel that your website is on WordPress.
Due to your url being short, the chances of your post to rank in google will increase.
Your post URL will look like WordPress.
Disadvantages of removing date and month from blogger post.
If your blog is new, then you have not submitted it in google search console then there is no harm. If your blog is old, on which there is already a post somewhere, then it can be a loss.
- Your blog will be greatly affected in SEO and Ranking.
- 404 error will come on all posts.
- All your indexed posts will be removed from google search console.
- And there will be losses somewhere, due to which your blog can be annihilated.
Now know your how to remove date from blogger post url step-by-step.
Step #1
First of all you have to login with your blogger account by going to blogger.com.
Step #2
Now you have to go to the Theme option and first of all take a backup of the theme.
step #3
You have to go to Edit HTML.
How to remove Date, Month and Year from Blogger Post's Url. how to remove Date, Month and Year from blogger post url |
Step #4
In Edit HTML you have to find <head> which you will find at number 4 in the beginning itself.
Step #5
Below I am giving you a code which you have to paste just below the <head>.
<!-- Start Coding Here -->
// 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>
<!-- end coding here -->
How to remove Date, Month and Year from Blogger Post's Url. how to remove Date, Month and Year from blogger post url |
Step #6
Finally click on Save Theme. The date and month have been successfully removed from the url of your blogger post.
Conclusion :
You must have liked the way to remove my post blogger url date or month. If you face any problem then you can ask me by commenting.
Tags :
how to remove date from blogger post url step-by-step | blogger ke url se date kaise remove kare | blogger post ke url se date kaise hataye | blogger url date or month remove karne ka tarika | blogger post ka url ka date or month kaise remove kare | Blogger Post Url ka Date or Month Remove kaise kare | remove blogger post url date month
COMMENTS