Welcome to dn420 today we will know about " How to Redirect 301 Custom Domains on Blogger"
How to Redirect 301 URL or old custom permalink to new custom domain permalink?
So if visitors type in our old domain address, whether it's on the main page or article pages, it will automatically go to the new domain address.
Here are some reasons why we redirect domains, including:
- So that our regular visitors who may save certain permalink addresses of our site will not lose what they are looking for when they revisit.
- Have several blogs where the content you want to be combined in one domain.
- So that our blog URL remains indexed in the search engines Google, Yahoo, Bing, and so on.
from some of the reasons above, perhaps the most considered is point 3, how you are not tired of building a blog and have been indexed from search, but everything has to start from scratch again. Not to mention if you have saved the permalink address of a particular post and revisited it from time to time, what you can only find is the old domain page.
Therefore, that's why to solve this problem, my friend can do a 301 Redirect on Blogger.
What are 301 redirects?
301 redirects or permanent redirects whose purpose is used to notify search engine bots that an existing page has been moved to a new page so that all old permalink links will change the new permalink, thereby minimizing ranking losses on SERP (Search Engine Result Pages).
How to Redirect 301 Custom Domains on Blogger?
The first step is to backup content from the blog. Click the Settings menu > scroll down and fiend for Manage Blog > Click the Backup Content button
Next (On the old blog) click the Theme menu >then Click the Edit HTML button next customize > Then add this code below <head> tag
<script>
//<![CDATA[
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'enter your new domen' + window.location.pathname;
//]]>
</script>
Note: Replace the marked code with your blog's new domain
That's all; After that click the Save theme button.