WordPress.org

Support

Support » Installation » Can't see admin panel – just a directory of WP files

Can't see admin panel – just a directory of WP files

  • I’ve just installed WP on my server and when I try to access wp-admin I get a directory php files rather than the control panel. I’ve tried re-installing everything (uploaded as ASCII) with no success.

    I do have an index.html in the same directory as index.php to allow me to work on the WP site in the background.

    I’m a bit of a WP rookie, so any suggestions would be welcome.

    Thanks in anticipation…

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not aware of anyone ever getting that to work: index.php and index.html co-existing in the same directory.

    I accomplish the same thing by installing WordPress in a subdirectory, get it ready to be Live, then delete the index.html in the root and follow these instructions to make it look like WordPress is running in the root even though it is still in the subdirectory: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    esmi

    @esmi

    Forum Moderator

    Try adding
    DirectoryIndex index.php index.html index.htm
    to the top of your root .htaccess file.

    Thanks jonradio. I adjusted the .htaccess so that it registered index.html index.php. It appears to be working now, although I think that your method seems safer so I’m going to re-install.

    Thanks for the help.

    Thanks esmi, thats what I did. Only trouble is that if I try and view a page in the admin panel it goes to my index.html page.

    esmi

    @esmi

    Forum Moderator

    Try adding
    DirectoryIndex index.php index.html index.htm
    to an .htaccess file in the wp-admin folder.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can't see admin panel – just a directory of WP files’ is closed to new replies.