I used .htaccess to remove the file extensions on my webpage. I have deleted htaccess on my root folder on my website but a url like www.mywebsite.com/dashboard rewrites to www.mywebsite.com/dashboard.php
Is there anyway that the web server has cached the .htaccess file?
No it is because of MultiViews
:
Options MultiViews
Try adding this line in your .htaccess
to stop this behavior:
Options -MultiViews
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.