In order for wordpress to use SEF URL's it uses the following rule in the .htacess file:
RewriteBase /
RewriteRule . /index.php [L]
I have a file that is outside the theme folder (in the web root) that I want to use SEF URLs as well. Here is the rule that I have
RewriteRule ^profiles/([A-Za-z0-9-]+)/?$ profiles.php?name=$1 [L]
These two clash. I have tried numerous diff methods and even took a trip to the bookstore to no avail. Hopefully someone here can help .
How can I exclude the second rewrite from the first rule and allow it to work?
Thanks,
Tom