htaccess Rewrite URL Without .php Extension To File
snippet in htaccess

htaccess Rewrite URL Without .php Extension To File

user6517

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/.]+)/?$ /account.php?id=$1 [L,QSA]