How To Redirect a Blogger Post to Another URL

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see <head> tag .

3.Copy below code and paste it just after the <head> tag.

<b:if cond='data:blog.url == "YOUR-BLOG-POST-URL"'>
<meta http-equiv="refresh" content="5; url=REDIRECT-URL" />
</b:if>


4.Replace YOUR-BLOG-POST-URL and REDIRECT-URL as your need.Look at the example below.

<b:if cond='data:blog.url == "http://www.bloggertipandtrick.net/2009/01/contact-me.html"'>
<meta http-equiv="refresh" content="5; url=http://www.bloggertipandtrick.net" />
</b:if>


If I add above code to my template,When someone go to my contact us page/post he will be redirected to my home page after 5 seconds.To redirect without waiting replace 5 with 0.

5.Now save your template and you are done.

0 comments:

Post a Comment

 

Support By Blogger