I have a Google Blogger blog where I blog. Sometime ago, I posted a post but now after getting new data, I updated that post and I got new URL of that post. But I have a lot of backlinks to that old URL and now when they are htiing then they are getting 404 page that is a bad SEO. Now I want to use 301 Redirect
to redirect old URL to new URL.
For this purpose, I know that we have to use .htaccess
and add Redirect 301 OLD_POST_URL NEW_POST_URL
but Google Blogger doesn't offer to edit .htaccess
so How to do this there?
There is another solution for site based redirection using javascript. I've done this after changing my blogger subdomain and it works. Go to Settings -> Search Preferences and find the section Custom Page Not Found and click edit next to it. Enter a code similar to the following to redirect your old pages to your new web site:
Change urls and save. You can use this method to redirect to other domains too. This is the custom 404 page of your old site so your old blog must return 404 for the urls you want to redirect.
Yes, Google Blogger does not offer you to edit
.htaccess
file but they just released an option to useCustom 301 Redirects
. From this featurs, you can do what you want. Just follow the below step to use this features.Custom Redirects ? no items Edit
/YEAR/MONTH/POST-TITLE.html
/YEAR/MONTH/POST-TITLE.html
I added a screenshoot below to understand completely.
When Server-side redirection is not supported, you can use
canonical
meta-tag in the<head>
section of HTML:(Source)