• When I click on several of my blog links I get HTTP 404 (Page Not Found) errors. WP installed fine, the MySQL database was configured okay, so I’m assuming it has to do with the wp-config.php file or how I have WP configured or how I’ve mapped to the confi file.
    I’ve installed the blog in a WAMP server directory (www) which is “http://localhost/blogname/&#8221; All of the php files are going to “<?php require(‘./wp-config.php’);”. All of the other files (./wp-register, ./wp-login, etc.) are listed in the same way in the PHP code. I got the CSS to work, but I’m baffled at what I’m missing here.
    Any help is appreciated…
    Thanks…

Viewing 5 replies - 1 through 5 (of 5 total)
  • This happens sometimes when people create a link structure under Options > Permalinks but don’t copy and paste the mod_rewrite files they need. Could you try blanking anything you have under Options > Permalinks and seeing if that helps?

    Thread Starter bittersweet

    (@bittersweet)

    I can’t access any of the links/pages including options or permalinks. I get the 404 errors after I click on any of the links like login, register, etc. If I insert my blogname after localhost (http://localhost/blogname/) then I get a different error (see below).
    Warning: main(c:\wamp\www\blognamewp-config.php): failed to open stream: No such file or directory in c:\wamp\www\blogname\wp-login.php on line 2
    Fatal error: main(): Failed opening required ‘c:\wamp\www\blognamewp-config.php’ (include_path=’.;c:\php4\pear’) in c:\wamp\www\blogname\wp-login.php on line 2

    What exactly are the links that the 404 happens on? Actual examples of links that don’t work, even though they are localhost links, would help in isolating the problem.

    Check yout ftp client really has definitely uploaded all the wp files.

    In Options (settings) check the values of site URL and blog URL
    both should point to localhost/journal or similar.

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

The topic ‘Getting HTTP 404 errors After Install’ is closed to new replies.