Options -Indexes
<FilesMatch "^(bootstrap|README).*">
  Require all denied
</FilesMatch>
<FilesMatch "(^config\.php$|\.sql$)">
  Require all denied
</FilesMatch>
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^f/([a-zA-Z0-9-]+)/?$ f.php?slug=$1 [L,QSA]
</IfModule>
