Support » Fixing WordPress » Something’s seriously off here (HTTP 404)

  • Southbound


    There seem to be something wrong with the permalinks on my blog, but I can’t find it. For example, right now, I created a new post called “Testing”. It shows up in the blog, but when I click the title (which has the correct permalink), I get a HTTP 404:

    The requested URL /blog/2006/10/01/testing was not found on this server.

    Same thing when I create Pages. I can create the page and make the link show up in the blog (also with the correct permalink), but when I click the link, I get:

    The requested URL /blog/test/ was not found on this server.

    I can recall the contents of the page from Manage / Pages / Edit, but the View link gives the same error.

    What could be wrong here? I should also mention that I’m running WP locally, so the home of my blog is:


Viewing 7 replies - 1 through 7 (of 7 total)
  • Kafkaesqui


    I should also mention that I’m running WP locally

    And what web server are you using? If it’s IIS, note that custom permalinks on MS’ product is an iffy combo.



    Do you have an .htaccess file in wp root? Is mod_rewrite enabled in httpd.conf?



    I’m using the newest version of Apache, on a Windows XP machine. I don’t think it’s a problem with Apache, MySQL or PHP, since I’ve been testing them separately and together before installing WP.

    Yes, there’s an .htaccess file in the WP root. It says:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    # END WordPress

    The mod_rewrite module is loaded too.



    And you have the requisite database created, with you added as user?

    I’m really most familiar with XAMPP as localhost server. If you’re doing something else (installing the big 3 – apache, mysql, php – separately), then I’m not sure I can help.



    Yes, there is a database of course. Otherwise, the posts wouldn’t be saved at all. I can post on the blog and write pages, but whenever I click a link directly to the posts or pages, they are not there.

    Thank you guys for trying to help. More tips are welcome. If I can’t solve it, perhaps a reinstall of WP may help.



    Well, all I can tell you is that the .htaccess you’re using is exactly (in main – the particulars in fine vary of course) what works on my own localhost installs.

    I would at this point go thought httpd.conf and active modules with a fine toothed comb.



    I’ve isolated the problem somewhat. I found that all the links work when I set the permalinks back to Default. I do have this line in my httpd.conf file:

    LoadModule rewrite_module modules/

    I verified that it’s connected by putting this line in the httpd.conf file:

    RewriteLog “C:/WWW/Root/rewrite.log”

    When restarting Apache, this file was created, which ought to mean that is working.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Something’s seriously off here (HTTP 404)’ is closed to new replies.