Welcome to WebmasterWorld Guest from 54.158.166.6

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Wordpress Index.php not loading

   
3:02 pm on May 17, 2012 (gmt 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
</IfModule>

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

thank you so much in advance

regards

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

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



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:

<?php
phpinfo();
?>

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