WordPress.org

Forums

[resolved] no index.php file in htdocs folder (12 posts)

  1. Gwen Rhys
    Member
    Posted 1 year ago #

    I have a number of wordpress sites but this is first time I've uploaded WordPress myself. I thought I did everything correctly but when I click View Site from the Dashboard I get a message saying that the site is ready to be hosted. When I access the server I can see that WP has been uploaded. The people who host my various URLs tell me that there's no index.php file. How do I get one there? Should I uninstall and re-install. I've been working on this issue on and off for over a week and am going round in circles.

  2. Keith Driscoll
    Member
    Posted 1 year ago #

    It sounds as if maybe there is still an index.htm or index.html file. If there is delete that because it will prevent index.php from loading.

  3. Gwen Rhys
    Member
    Posted 1 year ago #

    Keith you are right! index.html is in the htdocs directory. There are other index.php files in the sub-folders. There isn't an index.php under htdocs

    I've accessed the server using FileZilla but I can't find a delete file option. Tried renaming it to rubbish without the .html but that's not done the trick.

    Years since I've used FTP software (not since I used Front Page to build websites) and I'm sure I could delete files then.

  4. Keith Driscoll
    Member
    Posted 1 year ago #

    Do you see wp-config in the htdocs folder? Or is WordPress installed in a sub folder?

  5. Gwen Rhys
    Member
    Posted 1 year ago #

    wp-config-sample.php and wp-config.php in htdocs
    then separate cgi-bin sub-folder
    and wp-admin sub-folder (with lots of other sub-folders)

    Managed to delete file (using MAC laptop rather than PC and had to work out how to do the right-click to delete equivalent!!)

    I'm in London, UK by the way!

  6. Gwen Rhys
    Member
    Posted 1 year ago #

    I've downloaded the wp-config file, opened it and I can see that it's got the correct database name, username and password.

  7. Robbo11
    Member
    Posted 1 year ago #

    I have the same problem...
    Please, help me!

  8. Mark Senff
    Member
    Posted 1 year ago #

    In the same directory where you found your wp-config.php file, are there any other directories/files?

    You should have at least three directories:

    • wp-admin
    • wp-content
    • wp-includes

    And about 16 files:

    • index.php
    • license.txt
    • readme.html
    • wp-activate.php
    • wp-blog-header.php
    • wp-comments-post.php
    • wp-config.php
    • etc. etc.
  9. Keith Driscoll
    Member
    Posted 1 year ago #

    @Robbo11 Please start your own thread as per forum rules. Otherwise it makes it difficult to track issues :)

  10. Gwen Rhys
    Member
    Posted 1 year ago #

    Hi Everyone - thanks for all your support. I'm a little further forward. Now when I access the site, I get an Apache Test page.
    Someone else has told me I need to run http://newsite.citywomen.co.uk/readme.html

    In answer to the question about the directories/files - Yes I have all of those.

    I'm a bit like a terrier-dog with this problem. But I'm beginning to think it might be best to uninstall and re-install.

    My issue is that I'm creating a number of microsites which will be merged into a multi-site and I don't need to go through this with every microsite I want to set up. The one I've done so far was installed by someone else.

    Urrgghhh!!!!

  11. Keith Driscoll
    Member
    Posted 1 year ago #

    WordPress appears to be installed now :)

  12. Gwen Rhys
    Member
    Posted 1 year ago #

    SORTED! It appears that although there was an index.php in in the wp-admin and wp-content folders there wasn't an index.php in the htdocs folder.

    index.html was in the htdocs folder.

    Maybe it was just a glitch and I don't know what would have happened if I'd renamed the index.html to index.php.

    Wish me better luck with the next install!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic