WordPress.org

Ready to get started?Download WordPress

Forums

Where's my page? (2 posts)

  1. ladeda
    Member
    Posted 5 years ago #

    I have wordpress installed into the public_html folder on my server. If I try to go to my blog, I see the files in the public_html folder, not my blog. I tried to install it in a different place, but it still duplicates itself into the public_html folder. What did I do wrong? How can I fix it?

  2. MichaelH
    Member
    Posted 5 years ago #

    Solution 1
    If allowed by your host, putting this in an .htaccess file will solve the problem:
    DirectoryIndex index.html index.htm index.php

    Solution 2
    Some hosts allow you to make a change, via their hosting control panel, to the DirectoryIndex. It's typically described as Indexes or Index documents, but may also require you to type something like
    DirectoryIndex index.html index.htm index.php
    or specify index.php as an index type file.

    Solution 3
    Instruct Apache to treat index.php as an index file. If you own the server, or have access to the http.conf file, simply modify the DirectoryIndex line in httpd.conf to:
    DirectoryIndex index.html index.htm index.php

    This search of the forum found the solutions described above:
    http://wordpress.org/search/displays+directory?forums=1

Topic Closed

This topic has been closed to new replies.

About this Topic