• Resolved argusnet

    (@argusnet)


    Everything appeared to install correctly. WordPress assigned a username and password. When I tried to login, it didn’t load index.php. It displayed Index of /blog. I can click on wp-login.php and get the login to load. Once I login I see another directory listing and I can click on index.php, and then it loads properly. Did something not install correctly?

    Any help?

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

    Solution 4
    Contact your host

    Thread Starter argusnet

    (@argusnet)

    Michael,

    Solution 1 did the trick.

    Thanks,
    Jim

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘directory listing loading instead of index.php’ is closed to new replies.