Another "moved permanently" redirect

Discussion in 'Apache' started by maxx_dexter, Mar 27, 2006.

  1. #1
    Hi

    Can anybody help me redirect http://get.mysite.com/11243.shtml
    to http://go.mysite.com/11243.shtml using a 301 redirect?

    I have many get.mysite.com indexed by Google but I don't want to use this domain anymore. From now on I want to use go.cool1k.com.

    Thank you.

    PS: I don't have much experience into this mod_rewrite thing.
     
    maxx_dexter, Mar 27, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^([^.]+)$ http://go.mysite.com/$1/ [R=301,L]
     
    Nintendo, Mar 27, 2006 IP