How to redirect blogger pages from one page to another page of same or a different blog?

As we all know blogger doesn’t provide an option for 301 redirect on a page by page basis. The only option left with us is meta refresh redirect.

Say you want to redirect http://xyz.blogspot.com/2008/11/about.html to http://www.xyz.com/about/

Here is the code that you will need:

<b:if cond='data:blog.url == &quot;http://xyz.blogspot.com/2008/11/about.html&quot;'>
<meta content='0;url=http://www.xyz.com/about/' http-equiv='refresh'/>
</b:if>

Some points to note:

  • You need to place this code just before the head section closure ie before </head>  tag.
  • Take note of spacing before and after equals to sign and also there should be two (==) and not one (=) equals to sign.
  • content = 0 means. The browser will wait for 0 seconds before redirecting to another page.

Related posts:

  1. How to show adsense ads only on home page and not on inner pages of your blogger blog?
  2. How to show adsense below the post title in your blogger hosted blog only on inner pages except on home page?
  3. How to safely wrap adsense around blog posts in blogger?
  4. Moving from blogger to wordpress. How I did it and some pitfalls to avoid.
  5. How to embed flash files in blogger?

how to, webmaster