0:00
Hello everyone, welcome to K2 blogging and this video I will show you how you can remove
0:04
the date from the blogger post URL. So in the previous video I showed you how to remove question mark m equal to one from
0:13
the mobile URL of blogger. But in this video I will show you how can remove the date in the post URL
0:22
So let me just open a blog post from here. And here as you can see the blog post content, the date, so you can easily remove that using
0:32
a script. So for this go to the blogger dashboard and here click on theme section
0:41
And let me just click on edit HTML. And here you have to find the head tag
0:49
Now you have to download this code and paste it just below the head tag
0:55
So I will paste it here and let's click on save. Okay, now the code is saved
1:07
Let me just refresh this page. And as you can see, the date is gone in the post URL
1:15
So in this way you can clean up your URL structure and make it simple
1:21
But here one thing to note that if you are using a old site or the site is quite old
1:28
then you may not use this trick because it may affect your SEO
1:34
But if you are using a new site, then you can easily add this script and remove the
1:38
date from your blog post URL. And here one thing to note that if you remove this, your old URL will still work and redirect
1:48
it to this URL. So let me just show you. So let me just go to the blog post
1:56
And here let me just click on this blog post. So let me just grab a code
2:03
So here click on this. And when you click on the copy link, it will copy the old code
2:10
And here as you can see, the old date format is showing in the blog post URL
2:14
So let me just copy this. And let me just go to the blog post
2:21
And let me just internal link the old blog URL. So let's paste this and click on apply
2:30
Now let's update this. And now refresh this page. Okay, as you can see, the internal link is added
2:39
And when I click on this link, it will show the old link
2:45
So when I click on the link, it will redirect me to that page
2:50
So after adding this script, your old URL will still work and work perfectly fine and
2:57
redirect to the new URL. And if you don't want to affect the SEO, then you can manually redirect your old URL to
3:05
the new URL. So for this, you have to go to the settings
3:10
And let's scroll down. And here you will see this option error and redirect
3:17
So here you can set custom redirect, just click on it. And here click on Add
3:23
Now you can select the from URL and to URL. So in this way, you can put your old blog post URL and then add your new blog post URL
3:33
So let me just show you. So let's go to the blog post and let's grab the URL
3:41
So when you click on this link and copy the code, it will copy the old link
3:47
Now let me just paste the URL in a notepad file. And here as you can see, this is the old URL
3:57
So you have to copy this section only in the custom redirect
4:02
So let me just copy this. And let's go to the settings
4:06
And here scroll down and select the custom redirect option and click on Add
4:12
Now paste that URL. And as you can see, we have removed the domain name from the blog post URL
4:19
And in the two section, you have to copy this section only just copy the blog post section
4:29
And let's paste this. So you don't have to add the domain name in this position
4:35
You have to just add the old and new blog post URL
4:40
And here you can set the permanent redirect. So it will set 301 redirect
4:45
So whenever Google wants to crawl the URL, it will redirect to this URL
4:51
And eventually Google will treat the new URL as the permanent URL and give the SEO value
4:58
that we get in the old URL. So now click on OK
5:03
Now click on Save. OK, in this way, you can redirect your old URL to new URL
5:13
So if you are using that script, then it will automate the process and remove the date from
5:20
the URL. If you are running a old site, which has a lot of blog posts, then I don't recommend
5:28
to use this script. But if you are running a new website having less blog posts, then you can easily implement
5:35
this script and remove the date from your blogger post URL. I hope this video helped you how to remove date from the blog post URL
5:44
And if this video helps, then make sure to hit the like button and do let me know are
5:49
you going to use this script on your blog or not. And I will see you in the next video