WordPress.org

Forums

[resolved] Default Page Error (8 posts)

  1. tces76
    Member
    Posted 5 years ago #

    Hello,

    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?

    Thanks,

    Tom

  2. longpat
    Member
    Posted 5 years ago #

    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

  3. tces76
    Member
    Posted 5 years ago #

    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?

  4. longpat
    Member
    Posted 5 years ago #

    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
    </IfModule>
  5. Dan Cole
    Member
    Posted 5 years ago #

    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.

  6. tces76
    Member
    Posted 5 years ago #

    it's "https://secure.radioflyerlink.com"

    thanks

  7. tces76
    Member
    Posted 5 years ago #

    though I believe you were responding to longpat....

  8. Dan Cole
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.