RSSSubscribe to Review Of Web

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

3

Sponsored Links


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.
Digg, Stumble, Twit or share this post by clicking on any of the buttons below:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Yahoo! Buzz
  • Technorati
  • TwitThis
  • Facebook
  • MySpace
  • Google Bookmarks

Want to get an update as soon as we publish new article? I recommend you to subscribe via RSS Feed. You can also subscribe by email and have new articles sent directly to your inbox. It's absolutely free!

Related posts:

  1. WordPress for iPhone: Maintain Your Blog On-the-Go

Comments

3 Responses to “How to redirect blogger pages from one page to another page of same or a different blog?”
  1. Thanks a lot. I’ve tried this and it works quite well.

  2. No doubt tht is post is good and very helpful but thr is a lag in switching. Can the small delay be erased?

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!