DirectoryIndex index.php
Options -Indexes
RewriteEngine On
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9-]+)/?$ index.php?slug=$1 [L,QSA]
<FilesMatch "^(config\.php|catalog\.php|bootstrap\.php)$">
Require all denied
</FilesMatch>
