• Just installed a clean install of WP 2.9.1 setup the SQL database. When i enter the address of the blog the index.php does not load and I get the directory listing of that directory. If I navigate to wp-admin and click on index.php, I get the admin login page and i can log into the dashboard. If I add a new post or try to preview a new post I get the directory listing view of the domain/wordpress directory.

    Any suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m experiencing the exact same problem.

    Please check if index.php was properly uploaded to the server. In the meantime, also check the permissions and ownership of index.php file.

    You can also try after setting proper DirectoryIndex from .htaccess file.

    Thread Starter spectron

    (@spectron)

    index.php was created an located on the server in the wordpress directory.

    It’s:

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp/wp-blog-header.php’);
    ?>

    index.php looks fine.

    I haven’t edited or changed any files, other than wp-config.

    @meagan: Please post a new topic.

    Why? It’s the same problem.

    add this line to your .htaccess

    DirectoryIndex index.php

    (I don’t know how it happened, but my issue is now fixed. I played around and re-uploaded and re-upgraded enough times.)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress not updating index.php’ is closed to new replies.