Options -Indexes
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^about\.html$ about [R=301,L]
RewriteRule ^project\.html$ projects [R=301,L]
RewriteRule ^rmc\.html$ rmc [R=301,L]
RewriteRule ^hiring\.html$ careers [R=301,L]
RewriteRule ^gallery\.html$ projects [R=301,L]
RewriteRule ^(?:config\.php|bootstrap\.php|database|lib|storage)(?:/|$) - [F,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ index.php [QSA,L]
<FilesMatch "\.(sql|log|ini|env|bak)$">
Require all denied
</FilesMatch>
