RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

<FilesMatch "^(?:_config\.php|error_log|.*\.(?:sql|log|bak))$">
  Require all denied
</FilesMatch>

# PHP version is managed by cPanel MultiPHP Manager. Recommended: PHP 8.4/8.5 after compatibility tests.
