This is the way to do it for the New Blogger. First thing to do always before you make any changes to the template is to backup the template PLUS the Page Elements. Some or all of your old Page Elements will be deleted or become empty when you upload a new or backup template. If you are not familiar with the method to do it, refer to Backing up and changing New Blogger templates.
First, sign into your Blogger Dashboard, click LAYOUT, then click the EDIT HTML sub-tab. This will open the template editor window. Add this block of codes into your template just below the <head> tab which should be very near the top of the template:
<meta name="robots" content="noindex" />
<script type="text/javascript"><!--//--><![CDATA[//><!--
var url = "URL of where you want the blog to be redirected"
(document.images) ? location.replace(url) : location.href = url;
//--><!]]></script>
<meta http-equiv="refresh" content="0;URL=URL of where you want the blog to be redirected" />
<script type="text/javascript"><!--//--><![CDATA[//><!--
var url = "URL of where you want the blog to be redirected"
(document.images) ? location.replace(url) : location.href = url;
//--><!]]></script>
<meta http-equiv="refresh" content="0;URL=URL of where you want the blog to be redirected" />
Then add this just below the <body> tag:
<p><a href="URL of where you want the blog to be redirected"></a>.</p>
Make sure you replace URL of where you want the blog to be redirected with the actual URL of the site you want to redirect to. If you are not familiar with URL, refer to What is URL and how to get it.
Update 5 August 2007: Two readers have complained of problems with this hack. I have taken the trouble to retest following exactly the instructions given above with a test blog Testing New Blogger Redirect.
Update 1.9.2008: Apologies, I have unknowingly deleted the above test blog. But be assured that I have successfully tested the redirect.
The link is supposed to take you to
http://testing-new-blogger-redirect.blogspot.com/
but click on the link and see where it eventually takes you. It will take a short interval before you get redirected.
One think I suspect is they have left out the http:// from their URL.
0 comments:
Post a Comment