Right now, there are three domains for the site:
http://www.abc.com
http://www.def.com
http://www.ghi.com
The latter two (def and ghi) need to go to child pages, and show the child pages in the domain line.
I set up three domains in the domains tab of the multidomains module and then choose their pages. Very easy.
What's working RIGHT is that the domains are showing in the address bar once I choose those pages from my navigation bar. Hooray for that.
However, what's NOT working is when you type in those domains directly into the address bar, it's still taking me to the default home page. Is this a flaw or am I missing something here?
I tried to create domain redirects in the Redirect URLs tab, and they didn't work. I tried to further edit the existing .htaccess file and that just help turning into loops.
here is my .htaccess file code:
Code: Select all
# .htaccess for CMS made simple
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_METHOD} !POST$
RewriteRule ^(.*) %{REQUEST_URI}/ [NE,R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# EOF
Many thanks.