Docker

How to redirect Blogspot to another site

This question was arisen within me when I have moved my blog from gokuldeepak.blogspot.com to Gokuldeepak.com (a Self hosted wordpress site). I needed an automatic redirector to redirect my blogspot.com domain to top level domain. Using this method we can even redirect the blogspot.com to any certain page. I have redirected http://adflyincometips.blogspot.com/ to How to increase adfly views page. There are lot of blogs which deals with this topic. Even though I’m trying to reproduce my own version, a simple 6 step method. Note that user visiting any of the post in our blog will be automatically redirected to another site so that it does not only redirects the home page but all pages. So there won’t be any pages to display in our blogspot.com

How to redirect Blogspot to another site:

Step 1: Login to Blogger.com dashboard.

Step 2: Select Template tab.

Step 3: Click Edit HTML

Step 4: Within top 10 lines you will find <head> tag.

Step 5: Below that <head> tag add the following code.

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

Step 6: replace http://gokuldeepak.com with your own url to which the blogspot blog have to be redirected.

Success: Successfully we have redirected blogger blog to another site automatically.

Hope this Post helps you to make change in rapid manner. I’f you are an advanced pro sorry. This blog won’t satisfy you since I’m focusing to explain only basic details in a simple manner for noobs. Even though if you comment below I would answer your complex questions too.

Gokul Deepak S

Published by
Gokul Deepak S

Recent Posts

Running crontab on AWS auto scaling group

Linux has a convenient feature of running cronjob which will get executed at the correct…

12 months ago

Learn with Gokul

As famous Tamil poet Auvaiyar said "Katradhu Kai Mann Alavu, Kallathathu Ulaga Alavu" which is…

12 months ago

Terraform Cheat sheet

Terraform Cheatsheet with pdf. You can download Terraform Cheatsheet pdf with all Terraform CLI commands…

12 months ago

Strategy to prepare for Terraform Associate Exam Preparation

I was planning to do Terraform certification a long time ago. I have worked on…

12 months ago

Runcloud vs SiteGround Comparision

As a user of both of these services has got multiple benefits with both of…

2 years ago

Important Docker Commands to remember

You need not memorize these important docker commands. Repeated usage will make it easy for…

2 years ago

This website uses cookies.