Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Wordpress Index.php not loading

3:02 pm on May 17, 2012 (gmt 0)

New User

joined:May 17, 2012
votes: 0

I'm a newbie here. I installed a wordpress in a server run by Apache2. But the wordpress doesn't load index.php page. I can access deshboard and all other categories are displaying well. but the home url is not loading the index.php. Eventhough i try to added /index.php at the end of url, still it's not working. It just display 404 error. When i look at the theme directory and wordpress directory there are (index.php) files.

so I googled for solution. some suggested to add [directoryindex index.php] in .htaccess file. I did that and that result in 500 internal server error.

Some post in google suggest to look at dir.conf and httpd.conf under Apache2. In my httpd.conf file, I have this line of code

SSLcertificateChainfile /etc/ssl/certs/secure_yosalasd_org.ca-bundle

In my dir.conf file, I have this lines of code

<IfModule mod_dir.c>
DirectoryIndex index.php index.html

I would appreciate if anyone can figure out what is the problem here.

thank you so much in advance


4:18 pm on May 17, 2012 (gmt 0)

Moderator from CA 

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

directives in apache's conf file are case sensitive. So be careful about the difference between "directoryindex" and "DirectoryIndex"

do other PHP files work on this server? for instance, can you put a file on there named "phpinfo.php", containing this:


and see what it looks like when it's served by Apache?