blogging

Remove dates from blogger post URL

Remove dates from blogger post URL

Advertisements

Have you ever tried to remove dates from Blogger post URLs, but have not got any permanent solution?

Don’t worry.

Many awesome people like you who are blogging in Blogger are searching for a solution to remove the date from the Blogger URL. Today in Blog SEO Ranking I will provide a complete guide to remove dates from blogger post URLs.

So, Let’s dive in and find a solution to the question “How to remove a date from a Blogger post URL”

The topics which we are going to cover in detail in this article:

  • What is a Blogger post URL?
  • Why is it necessary to have a short URL?
  • How to remove dates from Blogger post URL
  • How to change the permalink in Blogger
  • Is it worth changing the URL – My Honest Opinion
  • Summing Up

Let’s cover these topics one by one:

What is a Blogger post URL?

Every page or post in a blog has a unique URL by which it can be accessed. Blog SEO Ranking has a post on Keyword Research, so the post can be accessed only using the link or URL of that post which looks like this:

Similarly, every page like the About Us, and Contact Us, and every post has unique links. These URLs are very vital for any blog, if the URL is not good enough then there is no use for a good article.

Why is it necessary to have a short URL?

  • It a short and much more convenient because:
  • It is easily readable.
  • It is easy to remember.
  • It is descriptive and meaningful.
  • It makes sharing easier.
  • It builds the trust of the user.
  • It helps to get a good ranking.

Here You can see what a shortened URL looks like:

In the blogger, the default URL contains the date of publishing, which unnecessarily makes the URL longer, so we’ll know how to shorten the default URL by removing the date from it.

How to remove dates from Blogger post URLs?

So now you know why it is necessary to have a shorter URL. In this section, we are going to discuss what will be the steps if you want to remove dates from the Blogger Post URL. One question that may come to your mind is whether it is possible to remove dates from blogger posts. My answer is “NO”. It is not technically possible to remove the dates as the owner of the blog is Google. Google does not have this feature in Blogger. But do not worry we have a method through which we can hide the date from the URL, read this article, and make sure you do not miss any point.

#STEPS:

1. First log in to your blogger account.

2. Now click on the triangle-like icon shown below in the image.

3. Now go to “SETTINGS” on the left side menu.

4. Here you will get an option to Edit HTML. Click on that option.

5. Now press CTRL+F on your keyboard and type </head>

<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://web.archive.org/web/20230418062907/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>

6. You will get the header tag ending. Now copy the javascript code given above and paste the code just above the ending of the header tag(</head>).

7. Now click on the save button to save the code.

8. Now visit your blog and you can see the date has been removed from the URL.

So let’s make it clear, we haven’t removed the date technically but we have used a javascript code to set a redirection look to shorten the URL and hide the date.

How to change the permalink in Blogger?

We have told you about the necessity of a short URL for your blog post. Now let’s talk about the permalink.
What is Permalink?
A permalink is a kind of permanent URL that is considered to remain the same and unchanged in the future. Search engines and users see the permalink of your post when they try to navigate through your site. Once you publish the post the permalink will be permanent even if you develop your content and update the post.
There are two types of permalink
– Custom permalink
– Automatic permalink
So here are the ways to set a custom permalink for your post so that users and search engines find your blog easily through this URL.

How to set a custom permalink for an unpublished post?

#STEPS:
1. First you have to sign in to your blogger account.
2. From the top left menu, click on the triangle-like symbol.
3. Click on the blog in which you want to make a change
4. Click on an unpublished post.
5. Now on the extreme right side you can see there are Post settings.
6. Scroll down and you will get the option of Permalink.
7. Select Custom Permalink.
8. Now enter ur desired URL separated by “-“.
9. Now click on Done.
10. Now click on Save or Publish your post.

How to set a custom permalink of an already published post?

#STEPS:

1. Sign in to your blogger account.
2. Click on the button shown below and select Revert to draft
3. Now click on the permalink and copy that and save it for any emergency.
4. Click on the custom permalink.
5. Now change the URL according to your wish separated with “-“.
6. Publish your post.

Last and most important step to change the permalink:

You changed the permalink so now search engines and user will find it difficult to find your blog. Suppose previously you shared your post link on different social media accounts. When you change your permalink then that link will redirect the user to an invalid page. To solve this problem we will redirect the link.

#STEPS:

1. Visit the Blog Settings.
2. Scroll and search for Errors and Redirections.
3. Click on Custom Redirects.
4. Click on the ADD button
4. Now copy and paste the previous permalink of the post.
5. Now copy-paste the current permalink.
6. Turn on the button that is shown below.
7. Click on OK.

Is it worth changing the URL – My Honest Opinion

There is a common myth that removing the date and month from URLs will help you in SEO but this is totally wrong. Most bloggers think that if they date and month then search engines will not be able to know how old is the post. But this is a misconception. Search engines like Google do not use URLs to find the age of your blog post, it uses the sitemap which you submit in the webmaster tools.

Here are the basic reasons why you should not change the URL:

You should not remove the date and time from your URL because

# The date and time actually don’t get removed. Instead of that, it gets hidden.

# Your posts do not get indexed on Google.

# It gives a 404 error when you use the script given above and then the site is loaded.

# Ranking of your page will go down

#You will not be able to submit your URL on the Google search console.

I will not recommend you hide or remove the date and time because, in the end, it will only harm your page and blog. So it’s better to keep your URL as it is. This code works in the past months but because of the new blogger updates, this code does not work properly. At last, do not try to remove the date and time from the URL.

SUMMING UP:

We have tried to find some permanent solution to your question. We can see with the advancement of technology every day every company is updating itself. This is also applicable to Google. 10-11 months ago the javascript code worked properly to remove the dates from the URL and shorten it. But now this method is not applicable because of the new updates in the blogger.  In Blog SEO Ranking we try to find the solution for newcomers in the blogging field. As a newbie, they might not know about the latest updates, tips, and tricks of bloggers. So if you have learned anything from this article make to share it with at least one new blogger. This will help them a lot. Please put down your queries in the comments so that we can answer all your questions.

Advertisements

Leave a Reply

Your email address will not be published. Required fields are marked *