How to redirect a custom domain in Blogger

Wednesday, July 16, 2014



A couple weeks ago a decided to revamp my entire blog and turned it into a much more functional layout. First I got a simple template, just to start, and then I tweaked it to my own taste. It's true that I do like a challenge, and with the last one I learned a whole bunch of new things.

One of them I will share with you today: how to redirect your blog to a new address. So here you may say "-Well just use the publishing tool in settings". You see, my problem was that I was already using the redirecting tool from my .blogspot.com address to a custom address. And now I want my custom address to be redirected to my new webpage.

If you don't have the same problem as I had, it's pretty simple. All you have to do is go to Settings > Basic > Publishing > + Set up a 3rd party URL for you blog.


Then add your new website address as showing below:


And after you save it will appear as follow:


Now if you, like me, need to actually forward from a custom address to a new custom address using a blogger platform, here's what you need to do:

Go to Template > Edit HTML and past the code bellow (remember to replace the red text wit your own new url):
<script type='text/javascript'>
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://www.annadusek.com';
</script>
You can see how it will look like in the following picture:


Now save your template and your blog is redirected!

♥ Enjoy!

Bilingual Parenting by Anna Dusek

You Might Also Like

0 comments

Like us on Facebook

Flickr Images