# Custom Rewriting Rules
<IfModule mod_rewrite.c>
    RewriteEngine On

    # If the requested filename doesn't exist, rewrite to .php file
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([a-zA-Z0-9_-]+)$ $1.php [L]
</IfModule>
