Hello Everyone! Welcome Back to TechiFeed. I have written a new informative post for you to read. So, Keep reading to find out more!
As we all know, Blogger has incorporated the Date in the Permalink of the Blog post URL, and there is no way to remove it via the dashboard. It also looks terrible and lengthens the URL.Remove Date From Blogger Post URL
Benefits Of Deleting Date Form Blogger Post URL
There are various advantages to eliminating the Date from the Blogger Post URL.
- It helps in keeping the URL length small.
- It gives your blog article a professional appearance.
- The published Date is hidden from the users.
- URL format that is simple to remember
Disadvantages of deleting Date from Blogger URL
There are certain drawbacks to eliminating it from post URLs since it impacts the SEO performance of well-established sites.
It is because Google uses the URL to identify a piece of content, and if the URL changes, Google must recrawl the page and reindex it in search engine results pages (SERPs).
As a result, you may lose some ranking place throughout this procedure.
However, the impact is only temporary since the old links will redirect to the new URL structure, and search engines will ultimately examine the unique URL.
And your old internal connections will continue to function.
As a result, it is not suggested for old sites with many blog posts indexed in Google, but new websites may use this strategy to remove the Date from the Blogger URL.
How to Remove the Date From a Blogger Post URL
To remove the Date from a Blogger post URL, follow the instructions below.
- Log in to your Blogger account and go to the Themes tab.
- Now, pick the Edit HTML option from the drop-down menu.
- Find the head tag and put the Javascript code directly below it.
- Save your code, and It will delete the Date from Blogger's post URL.
<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>
What happens when we remove the Date from the Blogger Post URL?
You may see 404 errors on old articles after changing the permalink format of your blog entries. We've come up with a solution:
Case-2: If you have published 2-5 articles, you must redirect these old posts (www.domain.com/2021/05/sample-post.html) to a new URL (www.domain.com/sample-post).
Case-3: If you have many articles and a high position in search engines, we strongly encourage you not to modify your blog's Permalink/URL Structure.
How Do I Redirect Old Post Links to New Links?
It is pretty easy, and you may accomplish it by hand by following the instructions below:
- In Blogger's Dashboard, Navigate to the Settings menu.
- Scroll down to the "Errors and Redirections" section.
- There should be a "Custom Redirects" option; choose it.
- You will get a popup, click Add, and paste each post's old and new URLs under from and to.
How Do I Create a Custom Post Url in Blogger?
- Visit the post and revert the published position to draught mode by clicking "Revert to Draft."
- On the right sidebar, under Post Settings, choose Permalink Option.
- Change the Permalink URL to your liking and click OK.
- Finally, republish your article to verify whether your post link has changed.
How to Restore Blogger's Default URLs
- Navigate to the Theme Section and choose the Dropdown Triangle Arrow.
- Then click Restore; here, you must upload the theme file you previously backed up before making changes to the URL Structure. Finally, press the Save button.
- Another option is to remove the previously inserted code above the </body> Tag and save the theme.
Frequently Asked Questions
Is it Safe to Remove Blogger Post Date?
As previously said, omitting the year and month from the post URL has both benefits and cons. As a result, keep the blogger URL structure the same, which may result in significant SEO concerns. If you need short URLs, you should migrate from Blogger to WordPress.
Does this remove year and month from post URLs?
This procedure will remove the Date (i.e., Year/Month) from previously published entries. However, redirect old URLs to new URLs in Blogger Settings.
Why is it necessary to have a short URL?
Because short URLs seem cleaner, which is one of the factors used to rank on search engines such as Google, Bing, and Yahoo.
Stay Connected
I hope you liked the above informative content. Please share this post and follow our blog for more great content.
If you have any questions or problems, feel free to ask in the comments section.
© Copyright: TechiFeed