I have the following file
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
I can access the page without the extension. I would like to know how to pass the following url
www.example.com/news/id