I have the following URLs:
- www.mydomain.com/client
- www.mydomain.com/client/index.php
- www.mydomain.com/client/index.php?a=b
- www.mydomain.com/client/index.php?a=b&b=c
The following two htaccess files exist:
- www.mydomain.com/.htaccess
- www.mydomain.com/client/.htaccess
I want to edit "www.mydomain.com/client/.htaccess" so that if you go to www.mydomain.com/client, that it redirects the user to mydomain.com/client/clientarea.php. In other words, 1 and 2 must redirect to mydomain.com/client/clientarea.php, but 3 and 4 must not.
How do I do that?