How do I get all URLs of my domain to redirect?

Discussion in 'Programming' started by MBHT, Feb 25, 2009.

  1. #1
    I get traffic to many directories of my domain, and I want to redirect ALL of that traffic to another URL.

    The basic hosting domain forwarders take visitors from the home page and redirect them, but leave all the traffic to the subdirectories with a 404.

    Is there an elegant way to take ALL the domain's traffic and point it to another domain?

    I'm guessing it'll be an htaccess dealie, but I don't know how to get it done.

    any help will be much appreciated.
     
    MBHT, Feb 25, 2009 IP
  2. nirajkum

    nirajkum Active Member

    Messages:
    815
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #2
    modify .htaccess file to do 303 redirect
     
    nirajkum, Feb 25, 2009 IP
  3. MBHT

    MBHT Well-Known Member

    Messages:
    153
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #3
    thanks nirajkum
     
    MBHT, Feb 26, 2009 IP