I have a couple websites on my server. Problem is that I can get to them by going to:
hostsite.tld/secondsite/
How do I redirect this to: secondsite.tld
Second, I don't want WWW on secondsite.tld. I Googled and tried many variations with no luck. If I go to the main page, it works. But if I go to something like this it does not:
http://www.secondsite.tld/page.html
I also have an open directory (secondsite.tld/public/)with its own htaccess with indexes enabled (as well as custom header/footer, the works), and adding any WWW removal rule gives me a 403 Forbidden error when trying to access the directory. Any ideas?
TIA
hostsite.tld/secondsite/
How do I redirect this to: secondsite.tld
Second, I don't want WWW on secondsite.tld. I Googled and tried many variations with no luck. If I go to the main page, it works. But if I go to something like this it does not:
http://www.secondsite.tld/page.html
I also have an open directory (secondsite.tld/public/)with its own htaccess with indexes enabled (as well as custom header/footer, the works), and adding any WWW removal rule gives me a 403 Forbidden error when trying to access the directory. Any ideas?
TIA