I'm not sure if this is a bug or I'm missing something obvious.
I have an account with 4 domains configured on an OpenLiteSpeed application server:
- acme.com.au (primary, doc root "/public_html" but A records pointed to SquareSpace)
- acme.com (addon, doc root "/public_html")
- acmecompany.com.au (addon, doc root "/public_html")
- staging.acme.com.au (subdomain, doc root "/public_html/staging")
I want to setup 301's for "acme.com" and "acmecompany.com.au" > "acme.com.au".
When I configure these in Advanced > Redirects, Enhance updates the "/.htaccess" file, but I get a 404 error when visiting "acme.com" and "acmecompany.com.au".
If I manually move the rules from "/.htaccess" to "/public_html/.htaccess" the redirects work correctly.
Should the redirect interface detect the right place to put the rewrite rules in this case?
I know I probably should have added these domains as aliases. I'm not sure if that would make any difference.
Appreciate any advice.