Support » Fixing WordPress » Default Page Error

  • Resolved tces76



    I recently installed and everything was successful. I can login to the admin site and create posts, categories, users, etc. However when attempting to view the default site (/index.php) I get a Page Not Displayed Error. Firefox says the page isn’t redirecting properly. I don’t believe it’s an issue with the absolute paths as everything is intalled in the root directory of the web server.

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    Any ideas?



Viewing 7 replies - 1 through 7 (of 7 total)
  • I get the same behaviour as you, except I do not get the error message. Instead I get the dir listing.

    I have installed 3.0 on apache 2.2 on localhost on my windows laptop with php 5

    Can you get to the admin pages?

    If you are getting the directory listing it might be looking for a default page like index.html not index.php. What happens if you enter “/index.php” after localhost?

    Yes, I was able to get to wp-admin/index.php but not the rest of the site.

    I have fixed it now by adding index.php to the welcome file list in my apache httpd.conf file

    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
        DirectoryIndex index.html index.php

    Because you said the back-end of WordPress, I think it’s a problem with permalinks and how your server handles requested pages.

    If the /index.php loads when you actually have that in the URL, but not when it’s gone, then you need to add mod_rewrite rules to your PHP config file. When their isn’t a particular file name in the URL, your server assumes a file according to the DirectoryIndex in the PHP config file or the .htaccess file.

    Can you post the address of your website. This might help.

    it’s “”


    though I believe you were responding to longpat….

    I’m not an expert when it comes to HTTPS and SSL. Maybe you can file an answer under the https tag in the WordPress Support Forum. I think your problem is due to it being a secure page request.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Default Page Error’ is closed to new replies.