I’m working on a project that uses the multi site manager. The “main site” is already live. I’m trying to get a 2nd site working on the dev environment.
Unfortunately, the server guy (who initially installed ee and msm) didn’t follow the User Guild instructions (http://ellislab.com/expressionengine/user-guide/cp/sites/domainsetup.html) and instead it’s set up:
└── domain1.com
├── admin.php
└── domain2.com
├── admin.php
└── index.php
├── index.php
├── images
├── system
└── themes
Now he’s got domain1.com AND domain2.com going to the root directory (so domain1.com) and he thinks I should be able to redirect domain2.com using the htaccess file. The problem is that I’ve got the rewrites to remove index.php for domain1.com and it’s messing up.
I’ve tried to add code found here http://support.lunarpages.com/knowledge_bases/article/549 to redirect domain2.com to the subdirectory and it works for the home page and images (for some reason) but doesn’t work for files (phpinfo.php for testing and any js).
Any other internal ee links don’t work (ie domain2.com/test/) and often they show the home page for domain1.com (ie domain2.com/index.php/test/).
The “real” url displays a template properly (ie domain1.com/domain2.com/test/).
Is there a way to do with with htaccess? Is it possible to just have domain2.com point directly at the subdirectory?
Any help is much appreciated!
Thanks
Amanda