Kwaasi Djin
Kwaasi Djin

Reputation: 125

Clean url without php

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?

Upvotes: 0

Views: 57

Answers (1)

anubhava
anubhava

Reputation: 784908

No it is because of MultiViews:

Options MultiViews

Try adding this line in your .htaccess to stop this behavior:

Options -MultiViews

Upvotes: 1

Related Questions