a simple question. I've a file named xyz.php on the domain http://mybeautifulsite.com. Url is http://mybeautifulsite.com/xyz.php When i type http://mybeautifulsite.com/xyz.php all is right good. But if i type without php : http://mybeautifulsite.com/xyz I've a 404 error What onfiguration is missing ? Thank you
Asked
Active
Viewed 42 times
1 Answers
0
This is because of the way webservers work. without the .php the internet browser is assuming that xyz
is a folder with an index.html
. So its interpreting it as

Gabriel Fair
- 4,081
- 5
- 33
- 54
-
if i rename xyz.html ( or htm) i've the same result (404). i know th configuration exist. For example : when i type on my wordpress site : http://myblog.com/wp-login then : http://myblog.com/wp-login.php is running. Thank you – Drannoc Jul 20 '18 at 18:02