0
For a site to get more url friendly I removed the .php
using the following commands within the .htaccess
:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
It worked perfectly for the.php news part, and the www.exemplo.com.br site opens without the need to add index.php. However, the problem is in the administrative panel, which makes it necessary to add index. Staying in this form:
www.exemplo.com.br/painel/index
or
www.exemplo.com.br/painel/index.php
How do I fix this? Access only with /dashboard/
Thank you!
I changed htaccess as you suggested but it hasn’t worked yet! I still can not access by www.exemplo.com.br/panel and only access via www.exemplo.com.br/panel/index
– Y. Menon