How can I set up a 301 redirect?

Discussion in 'Search Engine Optimization' started by Freebies, Apr 28, 2005.

  1. #1
    I need to know exactly how I can set up a 301 redirect to another domain name?

    Much thanks in advance everyone...
     
    Freebies, Apr 28, 2005 IP
  2. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
  3. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #3
    Here's the code I use that works on all files in the directory.

    
    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^current/(.*)/$ http://www.new.com/$1/ [R=301,L]
    
    Code (markup):
     
    Nintendo, Apr 28, 2005 IP
  4. miko67

    miko67 Well-Known Member

    Messages:
    769
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    120
    #4
    This mod-rewrite forum (not mine) works rather well, though it might take a day or two to get the answers you want.
     
    miko67, Apr 28, 2005 IP