Hi All,
All kinds of Google searching didn't help me here, but I'm sure one of my SDMB heroes can!
I've recently aquired a new web host (my current site's been dead for months), and it supports multiple domains on the same account, via folders. But it seems like this is screwing me up with the .htaccess file, especially in reference to redirects. For example, I have:
my-family.com - maps to /public_html
me-family.com - maps to /public_html/me-family
wife-family.com - maps to /public_html/wife-family
balthisar.com - will maps to /public_html/balthisar (coming soon)
Problem is, I use a CMS system (PostNuke) that I *don't* like to let live in the root directory. I usually put in in /site/. So I use a redirect like this in .htaccess:
redirect 301 /index.html http://my-family.com/site
Which works perfectly. The problem is, it also affects my other domains, which are fully-qualified domains, but with content found in subfolders of my main domain /public_html folder. So if I go to me-family.com, the redirect happens, and instead of the content in /public_html/me-family, I get redirected to /site.
How do I override redirects in sub-folders, then, so that my other domains go where they're supposed to?
THANKS!
(oh, as a last resort, I guess I could either (1) pollute my root /public_html with the CMS files and not use a redirect, or (2) not use a .htaccess direct and use an html redirect instead. But I'd rather now, ya know?)