# deny access to all php files except index.php and ioncube helpers
<FilesMatch "\.php$">
deny from all
</FilesMatch>
<FilesMatch "index\.php$">
allow from all
</FilesMatch>
<FilesMatch "^ioncube">
allow from all
</FilesMatch>
Options FollowSymLinks
RewriteEngine On
# fix the trailing slash
RewriteRule ^(fnova)$ https://www.purelifemarketing.com/$1/ [R=301,L]
# redirect
RewriteCond %{HTTPS} =off
RewriteRule ^(fnova/.*) https://www.purelifemarketing.com/$1 [R,L]
RewriteRule ([^\?]+\.html)$ index.php?RequestPath=$1 [L,NC,QSA,E=MOD_R:1]
DirectoryIndex index.php
|