Header Ads

  • Breaking News

    How to automatically redirect Blogger blog to another blog or website


    When to use this?

    This one will be useful if you have just migrated to new domain with 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 code 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 URL in your blog to another specified external website. You have to use this if you just moved to 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.



    1. Login to your Blogger dashboard
    2. Go to template and click edit HTML
    3. Now you can see template codes. Press CTRL + f and then find <head>
    4. Now add the following code below head tag like you see in the image below.





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



    In the above code change http://mix--er.blogspot.com/ which is the destination URL. Now all your pages from the blog will be redirected to destination URL.





    No comments

    Post Top Ad

    Post Bottom Ad