A few posts back we made an article about Blogger custom redirects in which you can redirect within your blog. That is you can redirect your specific post URL to another post or page, all 301 or 302 redirections within your blog. That will be useful for redirecting 404 error pages and broken links; however, with that, you cannot redirect the homepage to any particular URL. Here we will show you how to automatically redirect Blogger blog to another blog or website or any URL. So with this technique, you can redirect your Blogger Homepage or any particular page to external websites.
How to automatically redirect Blogger. When to use this?
This one will be useful if you have just migrated to a new domain with a new blogging platform. You are always limited in Blogger that’s why people moving to self-hosted WordPress blogs. Usually you won’t get much traffic to your new blog when you just shifted. Also, your old blog will have some decent traffic flow from organic search results as well as from backlinks. So by using this method you can drive traffic from your old blog to your new blog and also it passes all the ranking factors.
How to redirect Blogger blog to another blog / URL / Website
Here we will share three different codes that automatically redirect Blogger blog to another blog or URL and each code does different tasks.
Let’s say you want to redirect your complete Blogger blog to another page or URL. That is redirecting your homepage, posts page, archives page, and all other URLs in your blog to another specified external website.
You have to use this if you just moved to a new domain. To do this you are going to make changes to your template file. So before you mess up with the codes it’s recommended that you backup your template first.
- Log in to your Blogger dashboard
- Go to template and click edit HTML
- Now you can see template codes. Press CTRL + f and then find <head>
- Now add the following code below head tag as you see in the image below.
location.href = 'http://blogtimenow.com';
In the above code change http://blogtimenow.com which is the destination URL. Now all your pages from the blog will be redirected to destination URL.
Now we will see another piece of code that redirects a particular blog URL to another blog or website. If you wish not to redirect the whole blog then you have to make use of this code. Also, you can use this for redirecting users from a particular page to another external website for promotional purposes.
To do this just paste the following code below head tag and change the form URL that is http://yourblog.blogspot.com and destination URL that is http://blogtimenow.com
if(window.location.href == 'http://yourblog.blogspot.com ')
The above code just redirects the user from the specified BlogSpot URL to another website or URL.
Here comes another code; with this, you can redirect all your blog pages including home page to another blog or website with a specific set time. So users who land in your blog will be automatically redirected to anther blog after a specific time period.
<meta content='5;url=http://blogtimenow.com' http-equiv='refresh'/>
This is the code, just copy and paste below the head tag in your template file. In the above code, 5 is the set time where users will redirect to http://blogtimenow.com in 5 seconds after landing.
I hope this article guided you on how to automatically redirect Blogger’s blog to another blog/website or URL. Share this and if you found it useful then please leave your comments. To get more updates from Blog Time Now subscribe to our RSS feeds.