My goal here is to create one splash page for only the two with the same domain. This page would link to each website (website2.com/store1, website2.com/store2).
Using Magento, I have 3 websites with 2 under the same domain name:
website1.com website2.com/store1 website2.com/store2
I have created 2 directories in root with new .htaccess and index.php respectively for each website and are both working properly, but when change the DirectorIndex index.php in root .htaccess but it changes the main page for all three sites. I have tried only updating the htaccess for website2.com, but it redirects back to website1.com.
I have tried adding another file, test.html, after index.php and updated my RewriteRule with this test.html but this doesn't seem to be working. I am not sure what I'm missing to get this working properly.
How can I set up htaccess and/or index.php so when I first go to website2.com that you see this splash page, but doesn't effect website1.com.
UPDATE I am able to create a splash page and set it under the default index file, but it redirects for all 3 sites. I just want it to redirect when you first land on website2.com, not website1.com