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 to

Here is the code that you will need:

<b:if cond='data:blog.url == ""'>
<meta content='0;url=' http-equiv='refresh'/>

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.

Pin It on Pinterest

Share This