301 Redirect Help Please

Discussion in 'Apache' started by slapmatt, Mar 30, 2007.

  1. #1
    slapmatt, Mar 30, 2007 IP
  2. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,
    If you can run .htacess , try this code in your .htacess site

    
    
    Options -Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*)$ http://www.mydomain.co.uk/ [R=301,L]
    
    
    Code (markup):
    Just place it in the root of old domain in public_html folder.

    Cheers
     
    paidhosting, Mar 30, 2007 IP
    slapmatt likes this.
  3. slapmatt

    slapmatt Well-Known Member

    Messages:
    251
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Many thanks!
     
    slapmatt, Apr 2, 2007 IP
    paidhosting likes this.
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    K np.
    Cheers
     
    paidhosting, Apr 2, 2007 IP