I just remembered I should of also told you to escape certain folders by placing this rule infront of the rewrite posted as if you just use that rule everything goes through the php script which can impact performance.
Code:
#> SIMPLE FILES
RewriteRule ^(empty|privacy)\.html?$ $1.html [QSA,L]
#> PASSTHROUGH FOLDERS, obviously you change these to your required folders
RewriteRule ^(flash|images|storage|css|javascript)(.*)$ $1$2 [QSA,L]
#> CGI BIN SCRIPTS
RewriteRule ^(.*)\.cgi$ $1.cgi [QSA,L]
#> EVERYTHING ELSE GETS INTERCEPTED BY A ALIAS SNIFFER
RewriteRule ^(.*)$ rewrite.php?href=$1 [NC,QSA,L]
Bookmarks