WordPress.org

Support

Support » How-To and Troubleshooting » Remove Index of / front page

Remove Index of / front page

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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’);

    Hi,

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

    Thanks for your help
    Adam

    esmi

    @esmi

    Forum Moderator

    Yes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Index of / front page’ is closed to new replies.