Domain Mapping & Removing install directory from URL
-
Ok. First off I have looked for the answer everything but I can only find answers to either half of my problem and not the complete solution.
My predicament is that I have two seperate installs on the server, not using multi-site.
I am using domain mapping, and the htaccess file in the root says
# pointing domain_1.com to folder_1 ReWriteCond %{HTTP_HOST} example.com ReWriteCond %{REQUEST_URI} !example/ ReWriteRule ^(.*)$ example/$1 [L] # pointing domain_2.com to folder_2 ReWriteCond %{HTTP_HOST} test.com ReWriteCond %{REQUEST_URI} !test/ ReWriteRule ^(.*)$ test/$1 [L
Example site URL is http://www.example.com and wordpress installation http://www.example.com/example
Test site URL is http://www.test.com/test and wordpress installation http://www.test.com/test
I am confused as to how to remove the installation directory from Test site, since only one index file appears in the root, that of the example site.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Domain Mapping & Removing install directory from URL’ is closed to new replies.