What happens when you go to the root of your blog? Does it give you a blank page? Index.php itself doesn’t output anything so maybe it’s some other page that doesn’t get called properly?
When I go to the root directory, here’s what it gives me. When I click on index.php it just redirects me here too.
________________
Index of /
New Folder/
index.php
info.php
license.txt
mysql_test.php
oldindex.html
readme.html
wordpress-3.0.zip
wp-activate.php
wp-admin/
wp-app.php
wp-atom.php
wp-blog-header.php
wp-comments-post.php
wp-commentsrss2.php
wp-config-sample.php
wp-config.php
wp-content/
wp-cron.php
wp-feed.php
wp-includes/
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-pass.php
wp-rdf.php
wp-register.php
wp-rss.php
wp-rss2.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php
So seems like loading index.php might be disabled for that folder in your server settings (as apache config). You can also check your .htaccess file for possible rules for ignoring the index.php. Did you check that the content of the index.php looks correct?
As default it should just include couple of command lines:
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
Perfect, Thanks, I think that fixed it. I went to httpd.conf file and changed the config to look like this, It was pointed to index.html. That seemed to fix it.
______
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
_____
However I don’t have a .htaccess file. Should I manually create one. If so, should it be in the root directory where the index.php is and what should be in it?
Good that it worked out.
It’s not necessary to have an .htaccess file. It’s just for fine tuning additional configuration of your site. WordPress Multisite feature requires .htaccess file for some rewrite rules but if you go for that there will be good instructions how to set the whole thing up.
Great thanks for your help!