Redirect help - Losing SE traffic fast.

Discussion in 'Apache' started by MilesB, Aug 9, 2010.

  1. #1
    MilesB, Aug 9, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    If your old page names were the same e.g. page=content/interviews/johnnybosch/johnnybosch and interviews/johnnybosch/johnnybosch then you could use:
    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^page=content/(.*)$
    RewriteRule .* http://atlantichosting.net/%1? [R=301]
    
    Code (markup):
    However in the example they are wildly different therefore you're need to manually redirect each of the old URLs to the new URL, or just wait until the search engines catch up with your changes.
     
    tolra, Aug 10, 2010 IP
  3. ilanhur

    ilanhur Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I`m no expert but i think that 301 ( permanently moved ) would do the trick
    RewriteRule ^page=(.*)$ http://somesite.com/$1 [R=301,L]
     
    ilanhur, Aug 10, 2010 IP