Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Mirroring Multiple URLs, but different homepages? Reply To: Mirroring Multiple URLs, but different homepages?

#186906
__
Participant

However, it doesn’t if I use the full URL

Right, it only matches an empty URL (e.g., “/”). From your description, it sounded like you wanted all specified URLs to go through normally.

If you want to catch the index page too, just make it an optional part of the pattern:

RewriteCond %{HTTP_HOST} domain1example\.com$
RewriteRule ^(index.html)?$ /domain-1-home-page.html