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.
The rewrite should load /example with /example.php , when using with h5bp I receive a 404 error .
Removing the line
Options -MultiViewsfrom the h5bp