Hi all,
Is there a simple rewrite rule for .htaccess to redirect all directory url's to the relevant file.
For example:
Theres a page called competition.php and I would like competition/ to redirect to that file. Plus for all other pages. I could create each directory and put a redirect file in there, or create a line for each page in the .htaccess, but is there a catch all code?
Thanks.