WordPress.org

Ready to get started?Download WordPress

Forums

Remove Index of / front page (4 posts)

  1. londonlimes
    Member
    Posted 3 years ago #

    Hi guys.

    i'm sure this is a very simple fix...

    When I currently visit my home page I get a blank page showing the following:
    Index of /

    cgi-bin/
    wp/

    From there, I click on /wp and find my home page. How do I remove this?

    Thanks
    Adam

  2. govpatel
    Member
    Posted 3 years ago #

    Looks like your root does not have any index file that is why you see the index of if you want to use wordpress for wp directory then you will need to copy index.php file from wp directory in root so you have
    cgi-bin/
    wp/
    index.php

    and edit line 17 to
    require('./wp/wp-blog-header.php');

  3. londonlimes
    Member
    Posted 3 years ago #

    Hi,

    how do I edit the root and access index.php? Is this in my cpanel?

    Thanks for your help
    Adam

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Yes.

Topic Closed

This topic has been closed to new replies.

About this Topic