WordPress.org

Ready to get started?Download WordPress

Forums

Can't see admin panel - just a directory of WP files (6 posts)

  1. xymbolis
    Member
    Posted 1 year ago #

    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...

  2. jonradio
    Member
    Posted 1 year ago #

    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

  3. esmi
    Forum Moderator
    Posted 1 year ago #

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

  4. xymbolis
    Member
    Posted 1 year ago #

    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.

  5. xymbolis
    Member
    Posted 1 year ago #

    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.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic