I'm using HTML5 BP's .htaccess file unedited. Everything works fine until I add my own rewrite rule:
Options +FollowSymlinks
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^([a-z]+-?[a-z]+)/$ /$1.php
this works fine if add it to it's own .htaccess file (after starting the engine and adding options) but does not when added to the html5 BP's file . I've tried placing it all over the document, inside the if tags, top of the doc and bottom.
I'd like the rewrite to load mydomain.com/example.php when a user inputs mydomain.com/example .