.php pages
Moderator: General Moderators
.php pages
I have a couple websites on different hosting servers. On one, in order to get to http://www.website.com/page.php, I can simply put in http://www.website.com/page and it will go to the same place. On another, I have to type in http://www.website.com/page.php and just /page brings up a 404 error. Where do I find settings for that?
Re: .php pages
This is apache setting, called MultiViews
In order /page to resolve page.php you have to set
in your .htaccess
In order /page to resolve page.php you have to set
Code: Select all
Options +MultiViewsRe: .php pages
I did some research on it to see how to do it
I put it inside <Files></Files> and it gave me a 500 internal server error for any page where it wasn't a full URL with page name and extension
I put it inside <Files></Files> and it gave me a 500 internal server error for any page where it wasn't a full URL with page name and extension
Re: .php pages
Any ideas why this would happen? Or maybe a different solution?