htaccess redirect

Discussion in 'Programming' started by zeuscoder7, Aug 11, 2007.

Thread Status:
Not open for further replies.
  1. #1
    i want to point 2 domain in one hosting space i will point name server but i want to redirect both domain to different domain ...


    thanks and regards
    SK
     
    zeuscoder7, Aug 11, 2007 IP
  2. CygnetGames

    CygnetGames Peon

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is very easy. Simply place the following line in your .htaccess file:
    Redirect http://www.old-domain.com http://www.new-domain.com
    Code (markup):
    Repeat for each old-domain that you want to redirect. For more information, see this tutorial.
     
    CygnetGames, Aug 12, 2007 IP
Thread Status:
Not open for further replies.