How do I BOTH forward AND mask a URL with HTACCESS?

Discussion in 'Apache' started by moneymentor, Jul 26, 2012.

  1. #1
    How do I forward AND mask a URL with HTACCESS?

    I want to be able to type in URL1 which forwards visitor to URL2 but I want URL1 to still show in the address bar. I believe this involves the HTACCESS file and rewrite command, but I do not know the code. Please specifically tell me what code AND ALSO where to insert the URL1 and URL2 within that code? PLEASE BE SPECIFIC IF POSSIBLE. Thanks!!!!!!!!!!
     
    moneymentor, Jul 26, 2012 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    36
    Best Answers:
    7
    Trophy Points:
    173
    #2
    You will need to park the domain looking at your requirement. Add a ServerAlias in Apache config & point the domain to server IP.
     
    MilesWeb, Jul 27, 2012 IP