HI,
I have just installed on localhost wordpress. I can see the admin part and login but when I goto to the main site nothing appears just a list of the files that exist in the main dir. When I click on index.php nothig happens.
please anybody help
thank you,
Lef
Try adding this to the top of your .htaccess file:
DirectoryIndex index.php index.html index.htm
Hi James,
I added what you said but still nothing.
here what is in my htaccess file with the addition of your line:
# BEGIN WordPress
DirectoryIndex index.php index.html index.htm
RewriteEngine On
RewriteBase /wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
# END WordPress
the script is installed in a directory called wordpress
thank you,
Lef
You need to add it to the very beginning, before # BEGIN WordPress
If that doesn't work, find your httpd.conf file, locate the DirectoryIndex line, and make the same change to the line.
James thank you a lot
you are brilliant ... it worked ...
thanx again
have a nice day
Lef