Frequently Asked Questions
404 error unless I use index.php
Q.
http://example.com/index.php works, but http://example.com/ gives a ‘404 Not Found’ error
A.
Uncomment (remove the ”#” from) the following line in your .htaccess file:
#DirectoryIndex index.php index.html
If that doesn’t help, or causes a 500 Internal Server error, contact your web host tech support and ask them about enabling DirectoryIndex for PHP files.
Posted 3 October 2005, 05:15 by Alex Shiels
