URL and subfolders
-
Hello
I set up multiple domains on a hosting server, each domain pointing to a subfolder via htaccess.
i.e.:
# for domain1 RewriteCond %{HTTP_HOST} domain1.com [NC] RewriteCond %{REQUEST_URI} !^/domain1 RewriteRule ^(.*)$ /domain1/$1 [L] # for domain2 RewriteCond %{HTTP_HOST} domain2.com [NC] RewriteCond %{REQUEST_URI} !^/domain2 RewriteRule ^(.*)$ /domain2/$1 [L]
I have installed WP in one of that subfolders, and now the url automatically is set to domain1/domain1/, duplicating the domain. How can I get rid of that?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘URL and subfolders’ is closed to new replies.