WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Install complete but 404 for blog page (8 posts)

  1. JSWski
    Member
    Posted 1 year ago #

    I've gone through the 5-Minute Install and brought up the admin page. But I try to access the main blog page I get a 404 msg.

    I tried this before in a brand new folder and got a similar result (see http://wordpress.org/support/topic/dashboard-appears-but-otherwise-empty?replies=4#post-3238604)

    I then followed the recommendation given to install WordPress in a subdomain, so I uninstalled it and reinstalled it in an existing but empty subdomain: http://drupal.cfidsselfhelp.org [Sorry for the Drupal reference ;o)]

    I've tried several different methods of accessing the site: from the link on the Dashboard, from copying & pasting the URL from the General Settings screen (http://drupal.cfidsselfhelp.org), and from clicking on the index.php link in my file manager. I don't get how the file can be listed in the file manager but give a 404! I've no idea what to do now. Is there some sort of redirect that I need to set?

    Any help/ideas would be very much appreciated.

    - Jan

  2. But I try to access the main blog page I get a 404 msg.

    These link work so you have WordPress in the right place.

    http://drupal.cfidsselfhelp.org/readme.html
    http://drupal.cfidsselfhelp.org/wp-content/themes/twentyeleven/style.css

    Do you have the WordPress index.php file there? When I reference it directly I get this error message.

    Not Found

    The requested URL /topmenupage.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Looks like your web server is not completely setup or has a different index.php file there.

  3. JSWski
    Member
    Posted 1 year ago #

    Yes, the index.php file is there. That's what's got me flummoxed - I've accessed it directly, from the dashboard, and from my file manager - they all give the 404 msg.

    The subdomain folder was empty when I started the install and I haven't changed anything in the folder other than the automatic install.

    Here are the entire contents of the subdomain:

    index of: /big/dom/xcfidsselfhelp/www/drupal

    Filename: Size: Modified: Attributes:
    Dir wp-admin - 10-08-2012 rwxr-xr-x (755)
    Dir wp-content - 10-08-2012 rwxr-xr-x (755)
    Dir wp-includes - 10-08-2012 rwxr-xr-x (755)
    Document index.php View FileEdit File 1 KB 10-08-2012 rw-r--r-- (644)
    Document license.txt View FileEdit File 19 KB 10-08-2012 rw-r--r-- (644)
    Document readme.html View FileEdit File 8.9 KB 10-08-2012 rw-r--r-- (644)
    Document wp-activate.php View FileEdit File 4.1 KB 10-08-2012 rw-r--r-- (644)
    Document wp-app.php View FileEdit File 1.3 KB 10-08-2012 rw-r--r-- (644)
    Document wp-blog-header.php View FileEdit File 1 KB 10-08-2012 rw-r--r-- (644)
    Document wp-comments-post.php View FileEdit File 3.4 KB 10-08-2012 rw-r--r-- (644)
    Document wp-config.php View FileEdit File 3 KB 10-08-2012 rw-r--r-- (644)
    Document wp-cron.php View FileEdit File 2.6 KB 10-08-2012 rw-r--r-- (644)
    Document wp-links-opml.php View FileEdit File 1.9 KB 10-08-2012 rw-r--r-- (644)
    Document wp-load.php View FileEdit File 2.3 KB 10-08-2012 rw-r--r-- (644)
    Document wp-login.php View FileEdit File 28.4 KB 10-08-2012 rw-r--r-- (644)
    Document wp-mail.php View FileEdit File 7.5 KB 10-08-2012 rw-r--r-- (644)
    Document wp-settings.php View FileEdit File 9.6 KB 10-08-2012 rw-r--r-- (644)
    Document wp-signup.php View FileEdit File 17.8 KB 10-08-2012 rw-r--r-- (644)
    Document wp-trackback.php View FileEdit File 3.6 KB 10-08-2012 rw-r--r-- (644)
    Document xmlrpc.php View FileEdit File 2.7 KB 10-08-2012 rw-r--r-- (644)
    117.4 KB in 17 files

  4. JSWski
    Member
    Posted 1 year ago #

    Not Found

    The requested URL /topmenupage.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Does anyone know what the " /topmenupage.php" from the 404 msg is? Is there some sort of redirect from index.php ?

  5. halty
    Member
    Posted 1 year ago #

    I bet you have an .htaccess file somewhere (either in the same folder or on an upper level) that has some sort of a redirect which finally leads to /topmenupage.php. Try temporarily moving all these .htaccess files - will blog work?

  6. JSWski
    Member
    Posted 1 year ago #

    Aha! Yes, there is an .htaccess file in the next level up with the following (among other items):

    RewriteRule ^([a-zA-Z0-9_-]+)$ topmenupage.php?menupagename=$1
    RewriteRule ^([a-zA-Z0-9_-]+)/$ topmenupage.php?menupagename=$1

    I can't experiment with this tonight, but will try in a few days.

    Thanks for the lead, Halty! - Jan

  7. JSWski
    Member
    Posted 1 year ago #

    That was it - I added an .htaccess file to the subdomain and I can get to the blog now.

    Thanks again, Halty - Jan

  8. halty
    Member
    Posted 1 year ago #

    You're welcome! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.