My website is built up like the following
Some files are in deeper directories. I am wanting to redirect www.domain.com/products/catname/ (for example) to a certain page. My directories do not include index files.
How do I do this using htaccess?
I have tried
Options +FollowSymLinks RewriteEngine On RedirectMatch permanent ^/products http://domain.co.uk/ RedirectMatch permanent ^/products/productname http://domain.co.uk/
But this redirect any file in the /products directory (domain.co.uk/products/prod1.php for example will redirect to domain.co.uk)