Search This Blog

Loading...

Sunday, March 19, 2006

How to redirect from old url to new url

Update 18 May 2007: For redirecting with New Blogger, refer to this new post Redirecting New Blogger blog to another site

Update 2: This post is not meant for custom domain. This is my comment to JC's comment on redirecting to a custom domain: "JC I am guessing from what you posted that you are asking Blogger to redirect a blogspot blog to a domain you have already purchased. This post is for those who have a website (which can be a blogspot URL) which the blogger do not want to change to custom domain or delete the blog, to another website (which may be another blogspot blog or any website."


You want to use a new url for your blog. Your site have been indexed and have many incoming links. You want to keep you original blogspot.com url but want viewers to be automatically redirected to another website with the url http://newurl.com? This is how you do it. Paste this code (Note: whenever you want to make any changes to the template, it is always wise to backup the template first. If you are not familiar with that, refer to this post: Backing up and changing your Blogger template.


<meta http-equiv="refresh" content="0;url=http://newurl.com">

Update 5 May 2007. For those using New Blogger template, use

<meta http-equiv="refresh" content="0;url=http://newurl.com /"></meta> instead.

Notice the space between url=http://newurl.com and /"


somewhere in between the <head></head> tags like this:

<head>
<meta http-equiv="refresh" content="0;url=http://newurl.com">
</head>

Update 12 May 2007: I have tested the above method and also other methods using Javascript, but all of them resulted in a 404 error (Page not found). I think blogspot blogs are very prone to hijacking by spammers who do a redirect to their own sites. I think this has come to the notice of Blogger and probably they have done something that makes the method not work anymore.

Books for Google Blogger

Podcasting: Do It Yourself Guide

86 comments:

  1. So does this mean, I can get a .com domain name and then use this to redirect the blogspot content to the .com? And will I still be able to compose everything at blogspot? Will it show up on both sites?

    ReplyDelete
  2. Sorry, missed that part about the content. You can redirect visitors to the .com, not the content of the blog.

    ReplyDelete
  3. Peter, many thanks for the reply.

    Let me be more specific.

    My Blog has a hyphenated URL.

    The Google Search Engine Algorithm recently penalized the Search Engine ranking for such URL's.

    For example, for most keywords you will not find a hyphenated URL in the top ten on Google.

    These URL's are not blocked, but their ranking has dropped significantly.

    Therefore, I am going to create a new, non-hyphenated URL.

    I assume that I must copy everything on the old domain to the new domain given your comment that the content does not follow?

    Then, I can apply the code you posted to the old Blog in order to redirect all visitors to the new domain/URL?

    The REAL QUESTION then becomes will the Search Engines properly follow, index and rank the new site if all other things are held equal?

    Thanks in advance.

    Noori

    ReplyDelete
  4. Search engines penalize Meta Refresh code. The reason for that is people used to stuff a page with keywords for search engines, and then Meta Refresh to a page for users. If you do, please make it wait more than 5 seconds (instead of 0 indicated in that code).
    The most "search engine friendly" redirect is a server side permanent redirect (server code 301). Most server side redirects default at 302 (temporary), so make sure you pay attention to that.

    ReplyDelete
  5. Yeah I used your code snippet between the head tags and it kept refreshing on the site redirected to endlessly.

    ReplyDelete
  6. I put your code between the head tags and though it does go to the other site it keeps refreshing on that site endlessly.

    ReplyDelete
  7. Strange. I tested it before publishing and I didn't notice any refresh.

    ReplyDelete
  8. In my case, I have the blog and blog archives now published to my own domain, but also still up at blogspot. What I really would like to do is get the blog entries on blogspot removed without removing them from my domain but I'm getting no help on that from Blogger.

    ReplyDelete
  9. I have no experience with publishing to my own domain (I suppose via FTP). But with my limited knowledge of that, I think when you do that, your old URL is released to the public, and I understand that are spammers who are out to grab such available URL's quite quickly. I would suggest you try to claim your old URL back by starting a new blog with the old URL and see if that works.

    ReplyDelete
  10. Hi, hope someone can help me. I have 3 blogs, and I want to make redirections to two of them to the third one. They are all blogger blogs. name.blogspot.com (look in my details).
    I am trying and trying to do that.. but just cant make it... copying the code in this post and pasting it in many places on the blog code doesnt help... any advice?! is it possible to make redirections of blogspot pages to other blogspot pages?! thanks!

    ReplyDelete
  11. You say you copy and paste direct into the template. That wouldn't work. You have to change the URL. You will have to delete http://newurl.com and type in its place the real URL before you paste it into the template.

    Peter a.k.a. enviroman
    Enviroman Says

    ReplyDelete
  12. thank you very much. I solved the problem earlyer, and I forgot to write on your post... I'll write something later today... thank you!

    ReplyDelete
  13. so does this mean that the blog entries will not be transfered too ? how can i change the URL but keep the blog entries too ? is thos possible ?

    ReplyDelete
  14. You can keep the content, but I understand that search engines penalise duplicate content.

    Peter
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  15. When I changed my blog address from http://jweissdiary.blogspot.com to http://transworkplace.blogspot.com, I was able to redirect those who went to the old site's main page, but those who clicked on a links specific posts on the old site got a "page not found message." After many dead-ends, I figured out a way.

    I duplicated my blog using the mirroring software at httrack.com, and creating a duplicate of my blog on my PC. Then, I went into the files created by httrack, and found the "index" file that it created with all my old content. I right-clicked to view source, copied that source file into my blogger template on the old
    site (switching to classic template format first), added in a meta-refresh, and voila, all old blogposts now automatically redirect to the new site. This does not bring them directly to the post they were looking for, but at least they're at my site.

    I bet there's a way to make this work better.

    ReplyDelete
  16. Hi Dr Jillian Todd Weiss,

    Thanks for the tip, I will be testing out your tip if time permit, and if works out, including being able to make new post on the mirrored site, I will make a report on it with an acknowledgement of the source of the tip plus a link to your website. IF I do that, I will need to know what website you will want to be linked to.

    Peter

    ReplyDelete
  17. If you have time to check it out, that would be wonderful. Thank you so much. My website is http://transworkplace.blogspot.com

    ReplyDelete
  18. OK, I get how to change my URL but don't know how to transfer the content. Could somebody help me out? Don't want to lose it.
    Thanks, Candace

    http://womanatthetable.blogspot.com/

    ReplyDelete
  19. I just found this info on another site. It doesn't say anything about needing to move the content.

    Am I missing something? Don't want to do this if it's going to be a mess.
    Here's what I found:
    If you want to change it,

    1. Go to your Dashboard.
    2. Click on Settings.
    3. Click on Publishing
    4. The first box down the page is where you change your portion of the Blogspot url. It is of course subject to availabilty, and they will let you know while you sit there. No long waiting.
    5. Scroll down and Save Settings.

    If your blog has been in existence for any length of time or if there have been very many links already made to it, you ought not to change it. You may also have to resubmit any forms you've filed with the search engines.

    Don't worry about the Archive posts. All of them will be appropriately changed.

    END.

    ReplyDelete
  20. Hi Candace,

    Transfering may involve some tedious manual copy-pasting from one blog to the other. You will have to open the post editor for one post by one post in the EDIT HTML mode so that all HTML (links, images, etc.) can be copied and transfered over.

    You can use HTTrack to mirror the site, but I still don't know how to use the mirrored site to restore the blog, and don't know if it is at all possible.

    Peter
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  21. Hi Candence,

    Yes, you can change the URL to a new URL and I do have a post on that How to change the URL. If you do that, you do not need to transfer any post. Everything will remain the same except the URL. However, if your blog has been on the web for a long time, and have been indexed by search engines, plus have plenty on inbound links, you will have to think very carefully about following this route as you will have to start from scratch for search engines, and your exising links to your site will become dead links that lead to Page Not Found.

    It is more work, but if you don't want to lose your search engine ranking and links, starting another blog and transfering the content over, and then doing a redirect may be a better idea.

    Peter
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  22. Thanks, Peter. My blog has not been up that long, so I may change it. Your advice is great & thanks for answering so promptly.

    ReplyDelete
  23. hey, im hoping you can help me! I wish I had come across your blog before i messed mine up!

    you see i bought a URL but i didnt get hosting, so I want to redirect people from my domain to my blogspot. I did this by paying redirection.net $7

    The thing is is that I changed my publishing on my blogspot to my URL when I was messing around with it. So now my blogspot is publishing to my url and my url is redirecting to my blogspot so its a hell of a mess! so basically i cant do anything!

    How do I get back into my settings of my blogspot to change the publishing?

    ReplyDelete
  24. Hi Pickster,

    I see 2 solutions for you.

    1. Get redirect.net to redirect traffic to your new site.

    2. If 1 is not practical, etc., redirect traffic from your blogspot address to your new address.

    Peter (Blog*star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  25. Hi Peter, thanks for getting back on to me. Sadly neither of you solutions worked for me!

    my blogspot is the750dollarproject.blogspot.com and my url is www.the750dollarproject.com

    When i log into Blogger.com all I can change is my profile and not my actual blog settings!

    Any idea how to do this?

    ReplyDelete
  26. how do i access my settings on my dashboard? there doesnt seem to be a link or a tab anywhere because i changed the publishing to my url!

    ReplyDelete
  27. Hi pickster,

    You got to get into your template editor. Is yours an old classic template or the New Blogger template?

    Peter (Blog*Star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  28. "how do i access my settings on my dashboard? there doesnt seem to be a link or a tab anywhere because i changed the publishing to my url!"

    Is yours an old classic template or New Blogger template? To check, refer to Old classic template or New Blogger template.

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  29. i think its old classic template! but im not 100% sure, this is watt i see when i log in

    http://www.flickr.com/photos/36002429@N00/483332389/

    ReplyDelete
  30. Hi Pickster,

    The screenshot does not show the pertinent part of the Dashboard properly. Can you use Irfanview photo editor or any other photo editor that allows cropping. (Irfanview is free and very useful). Crop out the part that is important as I can't see properly what is in there. It is too small. Upload the cropped screenshot again and I will have a second look.

    Peter (Blog*Star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  31. hey man sorry for all the hassle. this is what i can see at the top of my blog

    http://farm1.static.flickr.com/179/483395161_d241fa48b7_b.jpg

    thats when i sign in to blogger.
    when i go to my blogspot address it just directs me to my URL!

    ReplyDelete
  32. Hi Pickster,

    I am afraid you are concentrating on the wrong part of the Dashboard. The most important part, I cannot see from your second screenshot. I only see a tiny portion to the screen below
    Manage Your Blog Creat a Blog Help

    However, from the very little of what I saw, I don't think you have a blog yet. Anyway, if you can redo the cropping, I will see what I can make out of it.

    Peter (Blog*Star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  33. where do i have to log into? thats what comes up when i log into blogger! when i got to my blogspot address it just links to my URL!

    I do have a blog i just have it publishing to my URL!

    ReplyDelete
  34. Hey,i wanted to redirect my blog to my .com domain but i couldnt do that and i could see the error message "Your HTML cannot be accepted: Tag is not allowed:..head.. .Please help me.
    xtranophilist@toughguy.net

    ReplyDelete
  35. Hi Dipesh,

    You must be using the New Blogger template. Use
    <meta http-equiv="refresh" content="0;url=http://newurl.com" /> instead. Notice that there is a space between url=http://newurl.com" and /"
    so the end part of the meta tag is
    url=http://newurl.com" />

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  36. Hi Dipesh,

    I do not understand. You will have to rephrased your question. And do the recropping of the screenshot to show the important part of the Dashboard so I have some idea of what is going on.

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  37. Hi peter thank u very much the redirection did work.One more help-how to add a frame of any other site in my blog.

    ReplyDelete
  38. Hi Peter

    I followed you instrucitons put in the line of code with my new url below is the data on my blog tenplate..tried a few combo's but didn't know where exactly..you say between the head..but I only have one head!! word and where exactly past the first head should I put it?

    thanks for your help

    head
    b:include data='blog' name='all-head-content
    title data:blog.pageTitle title
    b:skinCDATA/*

    ReplyDelete
  39. Hi Eamonn,

    Paste the script immediately below the <head> tag, that will be the easiest way to explain.

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  40. Peter thanks for your advice earlier, friad you got a gumby here!

    tried posting below head tag, but message said I'm not well parsed and meta needs to end with""

    do I need to delete any code..do I nned to jsut place code you suggested with new url included below head...

    its not working and I'm pbviously missing something simple.

    any thoughts

    ReplyDelete
  41. Hi Eamonn,

    The post was originally written for the old classic template. Note that I have updated the post (in red). Did you read and follow the instruction there? Please try that and let us know the result by commenting again.

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

    ReplyDelete
  42. Hi Eamonn,

    I have taken the trouble to test various methods and was able to save the template, but all resulted in a 404 error (page not found). Read the latest update in the post.

    Peter (Blog*Star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  43. Hi Eamonn,

    I finally found a way. Check this blog: Test Redirect. I will do a post on it in Blogger Tips and Tricks tomorrow.

    Peter (Blog*Star 2006 and 2007)
    Testing Blogger Beta (now New Blogger)

    ReplyDelete
  44. The post is finished. For doing redirect for New Blogger, refer to Redirecting New Blogger blog to another site.

    I have tested the method and confirmed that it works.

    Peter (Blog*Star 2006 and 2007)
    Testing Blogger Beta (now New Blogger)

    ReplyDelete
  45. before this i used ken-wild.blogspot.com before i changed to
    kenrixx.blogspot.com

    the problem is that i want to use/change to ken-wild once again (as i
    want to announce my soon new url) but i found out some1 has register
    using ken-wild since may. i couldnt believe this and make it worst,
    that blog is empty

    actually i want tto redirect people when they type ken-wild, they will direct to kenrixx but i dont know so i just change the url. not expected to have other have shared my url since may

    ReplyDelete
  46. Hi -Ken-,

    I am afraid you made a big mistake. What you should have done is create a new blog and leave your old blog URL alone. Now no one can help you get back your old URL unless by some miracle the person who took it agree to give it back to you. Hopefully it will remain blank and you would not be faced with some situations like what is described in Why you should not delete your blog or change the URL.

    Peter (Blog*Star 2006 and 2007)
    Blogger Tips and Tricks

    ReplyDelete
  47. This comment has been removed by the author.

    ReplyDelete
  48. Hi Megnomad,

    I am afraid I will have to delete your comment because you posted a long inactive (not clickable) URL which became a long unbroken line that extend into the sidebar and can cause problems or become unsightly. Perhaps I should refer you to Make active (clickable) link in posts and comments.

    I wonder why you would want to redirect a .com (own domain) to a blogspot.com blog (sub-domain), property of Blogger, not yours. Most bloggers if they have their own .com domain would prefer to redirect traffic from their blogspot.com blog to their .com domain using Blogger generous New Blogger custom domain.

    This redirection is automatically done for you once you convert your blogspot blog to New Blogger custom domain.

    Peter Blog*Star
    Blogger Dough, a temporary blog for bloggers who want to earn from their blogging efforts until final website ready

    ReplyDelete
  49. Hi Peter, thanks for that, I went ahead and deleted the comment, sorry about that!
    The reason I wanted to redirect that way is because my dot com went down,(some new cpanel stuff that didn't work for me) I still own the domain name and I am going to have to rebuild that site altogether so I didn't want to lose views/traffic in the meantime. I will use my blogspot as a catchall until I get a new site up.
    Anyway I figured it out and it was extremely simple and I guess I just wasn't paying attention or was a bit too tired!
    Thanks again.

    ReplyDelete
  50. This surely a good guide for newcomers but you can also use URL shortening like http://sn.vc to does the job.

    ReplyDelete
  51. good tutorial man! now problem solved. my blog from http://brightvison.blogspot.com/ to http://eyewearandlens.blogspot.com/ now running well. thank

    ReplyDelete
  52. Hi Greenisland,

    Thanks for your good words. I noticed that the URL you posted is not active (not clickable). Maybe you already know this but just in case, you should make active links in posts and comments

    ReplyDelete
  53. Hello! I used this and it worked for a day then I got a message from google that my site is going to be looked at as "spam" and that I have to file something in order for them not to delete my stuff... help?

    ReplyDelete
  54. You will have to complete the captcha (word verification) to get a human to look at your site

    ReplyDelete
  55. Thanks a Million..........

    ReplyDelete
  56. I have what may be considered a unique redirection problem.

    Here is the scenerio:
    1. I initially started my blog using the default name jimwgreen.blogspot.com.
    2. Later, I purchased a custom domain (jimwgreen.com) from Google for the same blog.
    3. Recently, I purchased another custom domain (understandinginternettechnology.com), again from Google.

    The issue is my site is redirecting off my default blogger domain rather than the first custom domain (jimwgreen.com) causing viewers to get this page: "Server not found. Error 404".

    Is there a way to change the redirection from the default - jimwgreen.blogspot.com - to jimwgreen.com so that it will go to my new URL address?

    ReplyDelete
  57. I am sorry I can't help much. First I don't fully understand your problem. Second IT and stuff like Cname etc are not my strong points. I would suggest you post your problem at Blogger Help Group. I would suggest you try to get the attention of my fellow Blog*Star by the name of Chuck or nitecrutz. If you wish, after posting you may give me the URL of the post and I will help to draw his attention to your problem.

    ReplyDelete
  58. Thanks Peter.

    I tried to explain it as best I could, but I guess it's a little fuzzy. Thanks for your suggestions. I gave up on Blogger Help Group a long time ago, but I'll take your advice and ill get in touch with Chuck or nitecrutz.

    As soon as I can post it to his site, I will shoot the URL your way. Thanks again.

    -Jim

    ReplyDelete
  59. Peter, per your request, here is the URL I posted my question to:

    http://blogging.nitecruzr.net/2009/04/custom-domain-published-blogs-and.html#comment-form

    ReplyDelete
  60. hi Peter,

    This is sudhir i was searching for something but i landed to ur blog, than i thought better i could get some help from u which i thought. i really appreciate for your work which u did to redirecting the Blog.

    what i need is suffix for blogger means when i enter google and press Ctrl + Enter, prefix and suffix will be inserted automatically, in the same way if i enter my blog Name and Ctrl + Enter it should redirect to Blogger.

    Please let me know is there any way to do this...

    my blog: http://sudhirsunil.blogspot.com


    Thanks & Regards,
    Sudhir.

    ReplyDelete
  61. Hi Peter,

    I have deleted few pages in my blog
    Now in the webmaster tools under th crawl errors there is a list of URL 's with status 404 not found.

    how to fix this error,Is it redirection. Pls explain in deatais

    url : http://movieworldactres.blogspot.com

    Email: jollyjcb@gmail.com

    ReplyDelete
  62. hi,
    I used your tag in my blogger template but it keeps on refreshing the page. How do I avoid that.

    ReplyDelete
  63. I tested the steps before writing this post, don't know what caused your problem.

    ReplyDelete
  64. Hello

    Apart of your < head > code:
    < meta content='0;url=http: //www.site.com /' http-equiv='refresh' / >

    I added also in < body >:
    < script >
    document . location.href = "http: //www.site.com/";
    < / script >
    < script type='text/javascript'>

    < / script>


    and as long the visitor has Javascript enabled it will be redirected to the 'site.com' (could also be another blogger address)

    Please remove extra spaces between < script and others, I couldn't post the code

    ReplyDelete
  65. Are you giving information or asking a question?

    ReplyDelete
  66. Thank you! Worked like a charm.

    ReplyDelete
  67. many thanks for you
    visit
    www.hutfission.blogspot.com

    ReplyDelete
  68. Mister Tutor. How can I duplicate, or should I say clone, all the content of my actual blog into a new titled blog. I want to keep the old blog title and content continuing working and the new blog- to have the same content as the old one- but edited.
    Thank you, Mira

    ReplyDelete
  69. You can export your blog to your new blog. See export import with Blogger

    ReplyDelete
  70. hello sir,
    i ahve one problem that is my old page is redirect to new one but content is not shown there.and when am open my new site then its didnot show any thing
    please help me
    Thanks

    ReplyDelete
  71. What old page or what new page? If you are referring to the instructions in this post, the content in the "old page" (old URL) have to be manually recreated in the "new page" (new URL).

    On the other hand, if you are referring to custom domain, all visits to the old pre-custom domain URL's will be automatically redirected to the new custom domains url's which will have the content from the blogspot URL already in the new custom domanin URL's, if you know what I mean.

    ReplyDelete
  72. How can I get unique URLS for my blog posts? it redirects every page to the NAMEHERE.com, instead of with a unique like namehere.com/december/name-of-blog-post ... any help?

    ReplyDelete
  73. You need to elaborate on your question

    ReplyDelete
  74. Does this work for tumblr blogs as well then?

    ReplyDelete
  75. I am not familiar with tumblr blogs but if you have access to that section between <head> and </head> you should be able to do the same.

    ReplyDelete
  76. @all

    i checked with my weebly it is redirecting to my blogger but first it takes time to load the weebly blog then it is redirecting to my blog in blogger

    but i have one doubt

    if my weebly nopainyesgain.weebly.com/investment.html

    if some one go to the above URL will they be redirected to nopainyesgain.blogspot.com or they will go to nopainyesgain.blogspot.com/investment.html

    if have created investment.html page in blogger?


    can anyone tell me the correct answer?

    ReplyDelete
  77. You will not be able to get a URL like http://nopainyesgain.blogspot.com/investment.html

    ReplyDelete
  78. hey guys,
    I tried the method above and it did not work. I found this link http://www.bloggerbuster.com/2007/11/easily-redirect-readers-to-your-blogger.html and that worked for me.

    All I had to do was go to Publishing (under Settings), then Advanced Settings, and type in my new doman name for the redirect. Hit Save and it worked rigth away..

    ReplyDelete
  79. JC I am guessing from what you posted that you are asking Blogger to redirect a blogspot blog to a domain you have already purchased. This post is for those who have a website (which can be a blogspot URL) which the blogger do not want to change to custom domain or delete the blog, to another website (which may be another blogspot blog or any website.

    ReplyDelete
  80. Hi maybe you can help me and I know I sound dumb for asking but could you or someone on here tell me were my url is located for my blog. I thought i knew but sadly I was wrong.

    ReplyDelete
  81. I hope this post What is my URL & how do I get it can help you.

    BTW when it is learning, there is nothing dumb

    ReplyDelete


Find topics by using the Google custom search box above which can search multiple blogs, or the SEARCH BLOG in the left corner of navbar. You can also find topics in the Label List and Categrories in the right sidebar.

For more information and special deals related to any of the issues on this page, place your cursor over the double-underlined links. All information supplied by Kontera.com.

Disclaimer: This blog has no relation with Wiley Publications