WordPress.org

Ready to get started?Download WordPress

Forums

Installation Problem - Just a directory list appears... (5 posts)

  1. Agent009
    Member
    Posted 6 years ago #

    Hi,

    After installation, all I see is the following directory listing.

    Index of /zo/gazette
    
        * Parent Directory
        * index.php
        * license.txt
        * readme.html
        * ...

    I can work the pages by finding the Index.php but that only works for some links. For example, if I want to install a new theme, I am faced with the same directory listing, so basically I am stuck.

    The database tables are setup, and I managed to login after installation. I even deleted the install files after installation. Quite simply I am stuck. Any help would be appreciated.

    Thanks guys.

    Edit: O ye, forgot the link. This will explain things better:

    http://www.princeseven.com/zo/gazette/

  2. whooami
    Member
    Posted 6 years ago #

    you need to add index.php as an index file to your .htaccess, like so:

    DirectoryIndex index.html index.php

  3. Agent009
    Member
    Posted 6 years ago #

    Thanks mate. I knew it was something simple.

  4. Andre2812
    Member
    Posted 5 years ago #

    Hi

    I have had the exact same problem. I tried the changes as per whooami's change to the .htaccess but it still just shows the directory.

    I have combed through the forum, and can't seem to find a solution. Please help

    Thanks

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