Options -Indexes
<FilesMatch "^(README|VALIDATION)\.md$">
Require all denied
</FilesMatch>
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^robots\.txt$ robots.php [L]
RewriteRule ^sitemap\.xml$ sitemap.php [L]
RewriteRule ^(?:includes|articles|config|database|tools|private-state)(?:/|$) - [F,L]
RewriteRule ^(?:\.insureno-data|\.sg-state-ino)(?:/|$) - [R=404,L]
RewriteRule ^dashboard/car/?$ dashboard-car.php [L,QSA]
RewriteRule ^dashboard/messages/?$ dashboard-messages.php [L,QSA]
RewriteRule ^dashboard/notes/?$ dashboard-notes.php [L,QSA]
RewriteRule ^dashboard/account/?$ dashboard-account.php [L,QSA]
RewriteRule ^(signup|signin|forgot|reset|signout|notes|article|about|contact|privacy|terms|unsubscribe|unsubscribe-confirm|login-s|dashboard|404)/?$ $1.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ 404.php [L]
</IfModule>
<FilesMatch "(^\.|\.(sql|log|ini|json|bak)$)">
Require all denied
</FilesMatch>
