RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L] RewriteRule ^lighting/([^/]*)$ /theatre.php?id=$1 [L]
alfo/alexforey.com/master/.htaccess

RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L] RewriteRule ^lighting/([^/]*)$ /theatre.php?id=$1 [L]