Options -Indexes
<FilesMatch "(?i)(?:^\.|^README\.md$|\.(?:sql|lock|log|ini|env|bak|zip|tar|gz|7z|rar|sqlite|db|old|orig|swp|dist)$|~$)">
    Require all denied
</FilesMatch>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^seo-route-check/?$ index.php?p=seo-route-check [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9]+(?:-[a-z0-9]+)*)/?$ index.php?p=topic-slug&slug=$1 [L,QSA]
