April 19, 2010

How to redirect Blogger to a new domain using Meta tags?

This is a simple trick to redirect all blog posts (page by page) to a new website or wordpress. First of all you need to extract all blog post URLS from your old blog and the new one. You can use Xenu to extract links. Use a spreadsheet to match all old blog post urls and the new one, i used excel to achive that.
How to redirect Blogger to a new domain or a new website using Meta tags?

Paste this condtion after <head> in Widget template -> Edit HTML. Change Old blog post page to the link of old blog post and change New blog post page to the link of new blog post.

<b:if cond='data:blog.url == &quot;Old blog post page&quot;'>
<meta expr:content='&quot;0;url=New blog post page&quot;' http-equiv='refresh'/>
</b:if>





Check this image (Add condition using Excel)
, copy all data from the Excel file and paste it in Notepad. Replace all "tab space" using Notepad's "Find and Replace" tool (Ctrl + H), then copy all rules to blogger as mentioned above.
Now your pages will be redirected to the new webpage or domain.
Add comments to this post if you have any quries .

1 comment:

Carlos said...

Many thanks, for me this was really useful!!!