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.



I think you got a great blog!! Thank you for that. I'm definitely going to add u to my favorite :)
ReplyDeleteI hope you can visit my blog at Thaer Money.
Ok, I've done it and it redirects to plonkee.blogspot.com/www.plonkee.com
ReplyDeleteinstead of www.plonkee.com
Absolutely Brilliant - thank you so much.
ReplyDeleteI was having nightmares worrying that I'd lose all my readers and the Link Love I've received and that little piece of script was just what I needed.
Much Love,
Damian
Question, before I try implementing this.
ReplyDeleteDoes this redirection script maintain permalinks, or are all visitors pushed to the new site's homepage?
e.g., if a reader enters
oldsite.blogspot.com/2006/11/blog-moving-please-visit.html
will they be directed to
newsite.com
or to
newsite.com/2006/11/blog-moving-please-visit.html
I'm looking for a solution that maintains the permalink structure in the redirection.
If that's not possible with this script, is there a tweak that would make such a redirection possible?
Thanks in advance!
Hi Better living through miles,
ReplyDeleteI suspect it only redirect traffic going to the main (index) page. However, I still have not tested the redirect. I will probably do it when time permit and update this post when I do. I hope you have made your profile and blogs public as otherwise I do not know how to contact you.
Peter (Blog*Star 2006 and 2007)
Testing Blogger Beta (now New Blogger)
Sadly, it does not work if a person enter in yourblog.blogspot.com/2005/05/any-post.html
ReplyDeleteand that post doesn't is there anymore because you changed your blog to yourbrandnewblog.blogspot.com
Hi admin. de empressa,
ReplyDeleteThose blogs are not mine. I just retested the technique again at this blog
http://testing-redirect.blogspot.com/
I delibrately didn't make it an active link so that you can see the URL. Copy the URL and paste it into the address bar of the browser and see where it takes you.
Peter (Blog*Star 2006 and 2007)
Blogger for Dummies
HI just what i am looking for ..i tried it and it redirects but the thing is my domain blog keeps on refreshing fro about 2-3x which is kinda annoying so i have to remove the codes.. can you help me why it is happening..
ReplyDeletejenny
http://jennys-corner.com
Hi Jenny,
ReplyDeleteI have tested this before publishing the post, and the old site just display for a while, then is directed to the new site. I don't know what is causing your problem. Maybe I will test it again. Save the URL of this post and check back later to see if I have done the test.
Peter (Blog*Star 2006 and 2007)
Testing Blogger Beta (now New Blogger)
Thanks so much! This is exactly what I needed.. you have been a big help
ReplyDeleteI'm having the same problem plonkee had.
ReplyDeleteI'm trying to redirect: www.travelbetty.blogspot.com to www.travel-betty.com
When I paste the code it redirects to www.travelbetty.blogspot.com/www.travel-betty.com
Any advice? Thanks!
Hi TravelBetty,
ReplyDeleteI have taken the trouble to retest the instructions given in this post in a test blog Testing New Blogger Redirect and it worked. Click on the above link and see where it takes you.
One thing I should remind you. Don't forget to add the http:// to your URL.
Peter (Blog*Star)
How you can help Blogger Tips and Tricks
(no one should feel obligated. Everthing completely voluntary)
Thanks, Peter! You called it. I wasn't including the http://
ReplyDeleteNow it works perfectly!
And hey, thanks for the redirect to my site and for the awesome, helpful code!
Hi I was hoping you have an idea about how I can get a header to click you through to another destination than itself (make sense?). I have set up a second blog as an archive for old mastheads. I´d like the header on my second blog (alientedheads.blogspot.com) to redirect you to my main blog (aliented.blogspot.com) when you click on it.
ReplyDeleteAny ideas?
Hi Dr. J,
ReplyDeleteRedirecting? No problem if it is a graphic Header. Refer to Special fonts for your blog clickable image Header. Just substitute whatever URL into the the relevant place. Any problem, comment in that post.
Peter (Blog*Star)
Testing Blogger Beta (now New Blogger)
This worked for me, although I've not tried the re-direct from individual posts.
ReplyDeleteFrom the main blogger page, the re-direct works amazingly well!
Thanks!
Great infomation. I'm just starting to blogging and this information is invaluable.
ReplyDeletePaul Shearer
http://money.informedcio.com
thanks for this tip Peter. :)
ReplyDeleteHi Peter Chen,
ReplyDeleteI have followed all your instruction to redirect new blogger blog to my site. However, it doesn't run well. I still have 404 error message.
I also add "http://" in front of my url but same result, 404 error.
this is my old url:
toddlergamesonline.blogspot.com
and my new site url:
games.toddlerworlds.com
any help will appreciate!
regards,
TODDLER WORLDS
Hi Pasifik,
ReplyDeleteI have tested this and it worked. Try
kokleewah.blogspot.com
and see that visitors are redirected to a different website after 5 seconds. I don't know why it didn't work for you because I don't know what you did.
It worked also for me !
ReplyDeleteThank you
Whoaa! It works for me.
ReplyDeleteThanks so much.
Vidya
Thank you very much. The instructions were clear and it worked for me.
ReplyDeletethanks
ReplyDeleteblogger-godown.blogspot.com
Hey, first I want to say you have a great blog and second uhh...how do you do a post-to-post redirect? like old url post re-direct to new url post.Also can you give me some ideas or some info on how long it would take for google to realize that I changed my old url to a new one.I know it's going to depend on everything but if you can give me some rough information or something then that would be great.And finally would it be a long time or no time for google to update my new url because they might think that I have a duplicate site or something though I dont, cuz I just have and left the codes, gotten from your blogsite, on how to redirect my old url to my new one.On my new one I have all the post I have from my old url.ANyway I'm going to stop right cuz I think Im think I'm typing too much :D Allright so take care and many thanks if you are able to answer my questions.I hope I was not too vague in explaining myself :)
ReplyDeleteRedirect from post to post. If your new URL is a custom domain, Blogger will automatically redirect old posts to new posts. See effects of custom domain conversion. However, if you just start a new blog and transfer the posts from the old blog to the new blog one by one, then you will have to put an active link from each old post to each new post one by one.
ReplyDeleteRegarding how long before Google will index your new blog, this will be just like starting a brand new blog in that you will have to enter the queue. However, if your old blog is already indexed and you have an active link from the old blog to the new blog, this may make the process faster. How long. Heaven knows.
Note that search engines penalize duplicate content.
I don't know how you have time to answer all these questions....But I have one more. So I have a blog address & have just purchased/reserved a web domain name. I want to start using my new web address instead of my blog address, but still maintain my blog through blogger & update it the same way. I have noticed many e-commerce blogs have upgraded to a website this way & not sure how they do it. So when someone keys in my blog address, it will automatically send them to the web address & they won't notice. And they could arrive at the "blog/website" by either address. Does this make sense and do you know how to do this?
ReplyDeleteI bought my custom domain through Blogger-Google Apps and all is done automatically. If you already have a domain, then you will have to do it through the registra but on this I cannot help.
ReplyDeletegotcha, thanks for your speedy reply.
ReplyDeleteWorked perfectly on my first try! Thanks!
ReplyDeleteThanks this was exactly what I was looking for and worked perfectly! Thank you soo much.
ReplyDeleteThe code under body tag for redirecting an old website to a new one is missing on this page. Can you please replace it?
ReplyDeleteMissing? You mean only visible in the scroll boxes by scrolling down? If so, I have increased the height of the scroll boxes so one don't need to scroll down to see the URL,
ReplyDeleteBrilliant. Works like a treat first time no hassles. Thanks for this!
ReplyDeletei've already submitted my blog to a RSS feed. if i change my url and redirect my old url, will the rss feel continue working as before?
ReplyDeleteNo
ReplyDeletehello,
ReplyDeleteim trying to redirect my old blog's url - http://anahata-kentroenallaktikwntherapiwn.blogspot.com/ to a new one - http://ninabazouki.blogspot.com/
im copying the block of code you gave before, first part after head tab and 2nd part after body tab.
Am i doing something wrong??
it shows me the message "page not found"..?!!Any ideas??
Thanks in advance
I just used your tutorial to redirect my old blog. I am the type of person who breaks out in a sweat when I see html code.
ReplyDeleteIt worked great!
Thanks so much!
Thanks for the post but when I use that code it creates a loop and the redirected page keeps on refreshing. How do I avoid that?
ReplyDeleteI have a blog on blogger and I bought a custom domain through them which is with GoDaddy.
I just want this feature to act once, I mean I don't want it to keep refreshing the redirected page.
Kindly help!!
I would suggest you try change template after backing up template and gadgets.
ReplyDeleteThx alot! works like a charm!
ReplyDeleteTHANK YOU SO MUCH!
ReplyDeleteThanks for the info! Worked perfectly!
ReplyDeleteThank you very much! Yes, it worked smoothly for me. Thank you once again! :)
ReplyDeletethanks pal...
ReplyDeleteplease be sure to visit my old blog & how it gets redirected to my new blog... :)
Thank you! Thank you! Thank you!
ReplyDeleteI experienced a catastrophic code scramble while trying to switch to one of the new Blogger designs and had to start all over from scratch. I just installed the redirect code and tested it, and it worked just fine.
The thing that saved me was that I had bookmarked my "edit posts" page separately. I can go to this page and copy my old posts to the new site. Now with this redirect code installed, my readers will automatically find the new site, and I still have access to my old "edit posts" page to continue importing these posts to my new site.
Thanks again.
i am quite lost at the body part :|
ReplyDeletehi, so just to clarify: I want to change the URL of my blog from www.thelushfleet.blogspot.com to www.karmakollective.blogspot.com. Basically, do I just change the blogspot address in the settings/publishing tab to what I want it to be (karma kollective) and then add in the given codes into the HTML? Just making sure that this is what the codes are for.
ReplyDeleteKarissa, this post show how to redirect from an existing website to another existing website but it doesn't sounds like that is what you want. I understand your intention as to change the URL thlushfleet.blogspot.com (it means this site will be no more existing) to a new url karmakollective.blogspot.com (newly existing) so all you need to do is to do that in SETTINGS > PUBLISHING.
ReplyDeleteIt would be different if you still want to keep the URL thlushfleet.blogspot.com but to redirect traffic to your new URL in which case you use the instructions here and create a new blog with that new url.
alright, thanks anyways. What I was really wondering, since I have already left my URL links on other blogs by commenting on their posts, was if it were possible for future visitors to be redirected to "karma kollective" if they happened to type in "the lush fleet" URL. If I change the URL, won't it be possible for spammers to use the old URL or something like that?
ReplyDeleteI would suggest you leave your old URL alone and backup your old blog with EXPORT and then import all your posts to the new URL, then do a redirect from your old URL to the new
ReplyDeleteI see, so I should not delete my old blog at all, which would leave me with two in total, correct? but how would I do a "redirect" ? Or do I export my blog, import it into a new URL, and then delete the old blog?
ReplyDeleteDelete? Why I thought I had already suggest you leave your old URL alone (meaning don't delete), create a new blog if you have not done so already and export your old posts to the new blog plus do a redirect from the old URL to the new URL using instructions from this post.
ReplyDeleteokay, so I tried what you had suggested, and the only problem I have with this is that every time I try to edit the blog's page elements of the "older" url, the "add and arrange page elements" does not show up, but instead, part of the re-directed page in the space where the "add and arrange page elements" stuff should be.
ReplyDeleteMaybe it is better to continue via email if you wish. Suggest you contact me via my contact form and provide as much details as possible or what you think pertinent.
ReplyDeleteHi Peter, Can you advise me on the best possible option? I have a blog grilabirintus.blogspot.com, but I have been connected last week, that I cannot use the "gri" as a website address, it is a violation of their logo etc policy. I accept this it was definitely not my intention (I understood that it is only the logo that is restricted), so I asked for some time to solve the problem. I have to find a new name for the blog, but that is the easiest part. I would need a solution, where I don't loose the content, template, gadgets etc, and not loose readers and those who have subsribed. One option that came to me reading your posts is making a new blog, exporting the old one (will that new blog have the exact same look as the previous in that case?), and than redirecting from the old. But this would mean I am still violating the logo policy, wouldn't it? For those who have subsrcibed, I could make a post on the new url, but what about the others? HOw could I most easily solve this problem?
ReplyDeleteThank you in advance!
Ukati, what do you mean when you say use "gri" as a website address (give us the URL and who tells you that "gri" violates their logo policy?
ReplyDeleteHi Peter, sorry for the late reply. GRI is an institution with a guideline, and I am writing about the use of that guideline in my blog. They claimed (GRI itself) that if the address of the blog has GRI in it, than it makes the readers feel that it is an official site for GRI. The logo policy (http://www.globalreporting.org/Home/TermsAndConditions ) is not that obvious, but I do not want to have any debates with them... So I made a new blog since, and I am redirecting the old website according to your above instructions (it works fine!). Since I have heard, that they have to buy the url, if they do not want me to use it, so I guess if I am redirecting, but not removing the blog, that would be a good solution for all...
ReplyDeleteI am making a post for my subscribers about the change.
You mentioned "take a short interval before you get redirected". Is there a way to shorten or remove the interval so that it will redirect automatically with no interval?
ReplyDeleteRemove? Yes, if you are a magician. There are various processes that need to take place, eg getting the IP addresses, eg 1.160.10.240 corresponding to the URL's before redirection can take place.
ReplyDeleteShorten? Not sure but think that if you can replace the URL www.domain.com with the IP address 1.160.10.240 it may shorten but here I am getting into an area which I seldom tangle with.
how to redirect each post to exact post in new blogger... please explain.. not to homepage
ReplyDeleteIf you are referring to new urls created by conversion to custom domain, then answer is, Blogger does it automatically for you.
ReplyDeleteIf it is from a blogspot blog to another unrelated blogspot or other blog, I doubt it can be done.
Thank you!!!!!!
ReplyDeleteThank you very much Peter for the excellent coding to redirect my old Blogger.com blog from www.wickerwoman.blogspot.com to my new WordPress blog at www.wickerwoman.com/blog! It worked like a charm!
ReplyDeleteWordpress? Sad to see you go, but anyway, wish you all the best
ReplyDeleteThank you sooooo much!! You ROCK!!!
ReplyDeleteNow I have to figure out how to make it so that my posts on my new url show up in readers' feeds!
sir i need to know one thing.Sir i want to change my blog name and url to some other name and url. So if my visitors click the old url how can i redirect them to the new url
ReplyDeleteplease help me on this sir