i love with onion head

Onion head collections

Iconthis site is a collection of Cute Onion Head and will UPDATE everydayyyyy !! the world is rules by Onion ^^ lol u rockk :p

Redirect blogspot to another blogspot tutorial

{hello , today we dont have cute pictures but is a TUToRIAL
how to redirect your old blogspot page to another new blogspot automatically }


It's my main problem before. When i want to change to new blog, I must think twice cause my blog traffic will be effect. Although I try to inform visitors in my old blog (eg: I have move to new home,come here http://blablabla) , most user will just closed our page without click that link. yes, its really happened. Well..

At last, this problem have being resolved by tom sherman (but his coding focuses for wordpress). I try used this coding in my blogspot and its really work .

you can see demo here,click

(http://testgotocute.blogspot.com)

DEMO


(u just wait for 6 second and its directly come to this blog http://cuteonion.blogspot.com ..)


ok here the simple tutorial, just read carefully and follow each step .

*****************************************


1. Log into your Old Blogger account and insert the following between the <head> and </head> :



* Number 6 means that the redirection will take effect after 6 seconds (you can change it). Replace the URL with your own.

<meta content='6;url=http://yournewblog.blogspot.com/' http-equiv='refresh'/>




2. The tricky part comes now.Insert the following right after
"<b:section class='main' id='main' showaddelement='no'>"

*Don't forget to enter your new blog's URL at var new_page =

<b:widget id='Redirector' locked='true' title='Blog Posts' type='Blog'>

<b:includable id='main'>


<b:if cond='data:blog.pageType == "item"'>

<b:loop values='data:posts' var='post'>

<script type='text/javascript'>

var new_page=&#39;yournewblog.wordpress.com/&#39;;

var permalink = &#39;<data:post.url/>&#39;;


var timestamp = &#39;<data:post.timestamp/>&#39;;

timestamp = timestamp.split(&#39;/&#39;);

timestamp = timestamp[2]+&#39;/&#39;+timestamp[0]+&#39;/&#39;+timestamp[1];

new_page = permalink.replace(/youroldblog\.blogspot\.com\/2007\/[0-9]{2}/,new_page+timestamp);


new_page = new_page.replace(/\.html$/,&#39;&#39;);


document.location.href = new_page;

</script>

</b:loop>

</b:if>

</b:includable>

</b:widget>



3. Insert the following between the <head> and </head> :

*After seeing this, search engines should remove your old blog from their cache and the old content will stop existing for them. Therefore they are not going to penalize your new blog for duplicate content.

<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>


4. This is not required, but helpful for your readers. Tell them that you have moved and that they are going to be redirected. Right after the <body> , insert this:

<div style='position: absolute; top: 30px; left: 30px; border: solid 2px #333; color: #000; background-color: yellow; padding: 5px; width: 400px; z-index: 5; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: large;'>

<p><strong>My blog has moved!</strong></p>


<p>You should be automatically redirected in 6 seconds. If not, visit<br/> <a href='http://yournewblog.blogspot.com/'> <strong>http://yournewblog.blogspot.com</strong></a> <br/> and update your bookmarks.</p>

</div>


*************************************


{Yeay finish hoho ... just easy step, hope you like and share with ya friends ^^ ...

hv a nice day ... cuteonion-}

 
 
 
 

Post a Comment 4 comments:

Soccer Geek said...

is this redirection SEO friendly, neither my old page rank will be lost!

March 17, 2009 at 6:27 AM

Web Design Quote said...

Thanks for the post on how to redirect old blogspot page to another new blogspot automatically. This will help me to see the importance for this. Keep sharing like this.

July 27, 2009 at 11:15 PM

cuteonion said...

thankyou... i love sharing :)

September 21, 2009 at 6:14 AM

Post a Comment

 
Next previous home