forwarding traffic from old site to new domain

Discussion in 'Site & Server Administration' started by netorius, Jan 3, 2007.

  1. #1
    I'll try and keep this as straight forward as possible.
    I had site i was learing on on a free host. I just got my first domain.
    how can i forward/redirect any existing traffic that comes to the old site,, to the new site,

    is there a way to let the search engines know that freehost.xx should now be newdomain.com?
     
    netorius, Jan 3, 2007 IP
  2. thejustbiz

    thejustbiz Peon

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can use a javascript redirect on your freehost page to point to the new site.
     
    thejustbiz, Jan 4, 2007 IP
  3. netorius

    netorius Guest

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I managed to find what i was looking for. it was a mod_rewrite with apache with a 301 code (permanently moved)
    wrote a article on my site about my experiences with it.
    it was a simple line in the .htaccess file that accomplished this.

    http://www.12bmedia.com/search-engine-optimization-seo/latest-seo/change-domain-name-and-keep-your-ranks.html Change domain name and keep your ranks

    http://www.netorius.cjb.cc is now http://www.12bmedia.com
    all urls from old site are mapped and findable on new site.
    one line of code created vodoo magic.
     
    netorius, Jan 6, 2007 IP