Home › Forums › Other › Mirroring Multiple URLs, but different homepages? › Reply To: Mirroring Multiple URLs, but different homepages?
October 23, 2014 at 7:20 am
#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