1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.htaccess page forwarding: sub1.example.com/folder/ to sub2.example.com/folder/

Discussion in 'Apache' started by italienare, Dec 14, 2008.

  1. #1
    When users enter
    subdomain1.example.com/folder/
    they should be automatically redirected to
    subdomain2.example.com/folder/

    Also in the address line, users should see subdomain1.example.com/folder/ even if they are in subdomain2.example.com/folder/

    Is this possible by using .htaccess?
    If yes then how :confused:
    I appreciate every help.
     
    italienare, Dec 14, 2008 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    SSANZ, Dec 14, 2008 IP
  3. mateon3000

    mateon3000 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    cool, looks like it was that easy to do. (was in same boat as OP) thanks ssanz
     
    mateon3000, Mar 22, 2009 IP