Need help with a special redirect

Discussion in 'Programming' started by thehotbusinesses@hotmail., Apr 19, 2011.

  1. #1
    Hey everyone quick question. I need to redirect my site that is developed now and keep all the seo I have done to it.... keep the site now showing up in google, but when you click in google it takes you to a new domain... is this possible?
     
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Doing 302 redirects should help you achieve what you want, though not sure why you dont want your new domain showing in Google
     
    AstarothSolutions, Apr 20, 2011 IP
  3. thehotbusinesses@hotmail.

    thehotbusinesses@hotmail. Active Member

    Messages:
    428
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Here is the problem. I have developed an affiliate site, spent $200 doing this, and now have realized it is against their TOS to use their company name in the domain name. My domain name is an exact match for a highly targeted and searched keyword for this product. If I do a 302 redirect will I keep ranking for those keywords and everything? Will the affiliate see the sale come from the new name and not the one against their TOS? I already rank for many of the keywords related to this product, but if I change the entire site I think I will loose those ranking right?
     
  4. sunnyverma1984

    sunnyverma1984 Well-Known Member

    Messages:
    342
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    120
    #4
    to redirect whole site to new domain add this in you .htaccess
    RewriteEngine on
    Rewriterule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
     
    sunnyverma1984, Apr 20, 2011 IP
  5. thehotbusinesses@hotmail.

    thehotbusinesses@hotmail. Active Member

    Messages:
    428
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #5
    And that will keep my search engine titles and stuff the same, but just change the domain that people land on?