0
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.exemplo.com/noticias/id
Rewriterule (.*)$ $1.php Following the example this rule would look for the following file: noticias/id.php You can use a tool to manage routes.
– rzani