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.

How do you redirect a subdomain and mask the URL?

Discussion in 'HTML & Website Design' started by eric binder, Apr 23, 2020.

  1. #1
    I'm able to redirect a subdomain to a different folder on the server but need to mask it as well so it doesn't show as "subdomain.domain.com/folder" but rather "subdomain.domain.com".

    Here's what I'm using for the redirect:
    RewriteCond %{REQUEST_URI} ^/folder1 [NC]
    RewriteRule .* subdomain1.co.luxury [P,L]

    Any solution or ideas are appreciated.
    Thanks,
    Eric
     
    eric binder, Apr 23, 2020 IP
  2. LewisH95

    LewisH95 Greenhorn

    Messages:
    118
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    23
    #2
    Click on the domain that you would like to set up a masked forward for. Click the URL Forwarding tab on the left-hand side. Here, you can enter information about where your URL is forwarding to and what type of redirect you'll be setting up. Use the drop-down menu under the Type section to change it to “Masked.”
     
    LewisH95, May 4, 2020 IP