• Could someone tell me why, when I add a directoryindex file name to my HTACCESS file, then try to go to my wordpress blog or to login to my wordpress blog all I get is a directory listing ? What needs to be added to the HTACCESS file so that both load (web page & WP blog and WP login) ?

Viewing 1 replies (of 1 total)
  • How did you add this directory index “file name?” The proper file the code should be stored in is called .htaccess It needs to have the . in front of it and is case sensitive. Also, WordPress uses index.php as its opening page, so your DirectoryIndex should read as follows:
    DirectoryIndex index.php index.html index.htm index.pl (Or whatever other pages you might want to function as a main page.)
    Of course, all you really need in the above example is:
    DirectoryIndex index.php

Viewing 1 replies (of 1 total)
  • The topic ‘DirectoryIndex added to HTACCESS file does not loading wordpress blog’ is closed to new replies.