I had to make this post because I realized what would have happened if there was absolutely no way to redirect a blog to another. I initially intended to make http://fbt.doncaprio.com a different blog under a sub domain but changed my mind due to certain reasons. I was quite worried about all the traffic I was going to lose and decided to go online just to make a little research. I came up with a little trick which I’m gonna share here, who knows, someone else might just need it down the line.
To redirect one blogspot blog to another needs no techie stuff, simply copy and pasted the code below in the HEAD section of your template by folowing these steps:
* Login to your blogger account and click on Design > Edit HTML
* Now Press CTRL = F and serch for </head>
* Paste the following code just above this
<meta HTTP-EQUIV='REFRESH' content='0; url=http://my-new-blog-adress'/>
<meta content='NOINDEX, NOFOLLOW' name='ROBOTS'/>
Please change my-new-blog-adress to your own new address.
Explanatory Note
content=’0 as shown in the code determines how long (in seconds) your visitors will stay on the old blog before being redirected. I set it to Zero but you might change it depending on your choice.
Also <meta content=’NOINDEX, NOFOLLOW’ name=’ROBOTS’/> tells search engines to stop indexing posts on your old blog. This prevents your new blog from being penalized by google for duplicate content as pages indexed on the old blog will be removed in due time.
Update – Redirecting Individual Blog Posts
Now we must redirect individual posts to the new blog but it’s impossible to add a 301 permanent redirect on Blogger server. However, we can achieve this using a trick. Search for this code:
Right below that, paste this:
<b:includable id='main'>
<b:if cond='data:blog.pageType == "item"'>
<b:loop values='data:posts' var='post'>
<script type='text/javascript'>
var new_page='yournewblog.com/';
var permalink = '<data:post.url/>';
var timestamp = '<data:post.timestamp/>';
timestamp = timestamp.split('/');
timestamp = timestamp[2]+'/'+timestamp[0]+'/'+timestamp[1];
new_page = permalink.replace(/youroldblog.blogspot.com/2007/[0-9]{2}/,new_page+timestamp);
new_page = new_page.replace(/.html$/,'');
document.location.href = new_page;
</script></b:loop>
</b:if>
</b:includable>
</b:widget>
You must replace yournewblog.com and youroldblog in the code with the code with address of your new blog and old blogspot subdomain respectively. Hope it works for you!