How to Redirect one Blog to another Blog or Website

This technique will be useful for those who change their blog names or created another self hosted website on different platform. In this post we will show you "How to redirect your Blogger blog to another blog or any self-hosted websites or any other URL".
redirect-blogger-blog-webekar

Why we use this technique?

This technique will help you to be connected with your visitors. You don't need to market that "Our blog name is changed" or "Now we have our self-hosted website with new name or URL". Also our old has some good traffic flow from organic search results as well as from back-links. So with this technique or method you can drive your blog traffic from old blog to your new blog or website.

Now How to redirect old blog to another Blog/Website/URL?

Here we published three different ways that automatically redirect your old Blog to another blog or URL.

Code - 1:

This code will help you to redirect your complete Blogger blog to another page or URL. That means this is redirecting your homepage, posts page, archive page and all the other URLs to the specific external URL. 

Before you going to use this method, I suggest you to backup your template first because you are going to change your template file.

There are following steps you have to follow:
1. Login to your Blogger Dashboard
2. Go to 'template' and click 'edit HTML'
3. Now you can see the template codes. Press CTRL+f and then find <head> tag.
4. Now add the following code below head tag like you see in the image below.
steps-to-redirec-blog-webekar

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<script type='text/javascript'>
     var d='<data:blog.url/>';
     d=d.replace(/.*\/\/[^\/]*/, '');
     location.href = 'http://webekar.blogspot.com';
</script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In the above code change http://webekar.blogspot.in URL to your destination URL. So now it will redirect all your pages from old one to new destination URL.

Code - 2:

We seen that we can redirect all the pages to external Blog/URL/website, but what if you want to redirect particular page to external website? You can use this code for promotional or marketing purpose to redirect particular page to external website.

Follow the following steps:
1. Login to your Blogger Dashboard
2. Go to 'template' and click 'edit HTML'
3. Now you can see the template codes. Press CTRL+f and then find <head> tag.
4. Now add the following code below head tag.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<script>
if(window.location.href == 'http://yourblog.blogspot.com ')
{
    window.location="http://webekar.blogspot.com";
}
</script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Just copy and paste the above code below <head> tag and remove http://webekar.blogspot.com with your destination URL.

Code - 3:

This is third and last code to redirect blog, and this is interesting one. Through this code you can redirect your whole blog to another one with specific time period; that means after specific time your old blog will redirect to the new one.

Just copy and paste the following code below <head> tag.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<meta content='3;url=http://webekar.blogspot.com' http-equiv='refresh'/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The above code will redirect your blog to the external blog after 3 seconds as given above, you can change this. Don't forget to change http://webekar.blogspot.com URL to your external URL.

I hope this article guided you well and will help you to redirect your old Blogger blog to new Blog/URL/website.

Like and share this article with your friends to help them. You can also comment with your views. 

Comments