Forums

[resolved] 404 recorded in Apache logs only (3 posts)

  1. ozbren
    Member
    Posted 5 years ago #

    Hi Fellow wordpress users!

    I searched high and low all the 404's posts and believe this to be unique.

    I changed my permalinks to be /word/%categoryname%/%postname% and I started getting 404's in my logs only. (I'm not talking about real 404's because my URLs had changed) but 404's on the new URLs. The thing is the pages load fine on the web. ie everything works perfectly, but pages are generating 404's in the apache logs and the log says this: File does not exist: /home/website/wordpress/word

    Its like its doing the RewriteCond %{REQUEST_FILENAME} !-d throwing a 404 then continuing on.

    I'm using WP 2.0.2 (will upgrade soon) and using the default .htaccess, I'm using shared hosting so don't have much control over apache.

    Has anybody seen this before? or have a custom permalnk structure that is simlar to this and works?

    Thanks in advanced for your time!

  2. theposterpreviouslyknownas
    Member
    Posted 5 years ago #

    ive seen exaxctly what you are describing (404s being sent but the pages load), and fixed it too ..

    the first thing you need to do is upgrade your permalinks -- click that button the permalinks page.. then read this:

    http://www.village-idiot.org/archives/2007/01/07/wordpress-custom-permalinks-and-trackback-404-issues/

    I cannot stress enough how buggy THAT is.. that a page can load but the wrong header is sent.

  3. ozbren
    Member
    Posted 5 years ago #

    Awesome, owe ya one ;) thanks for that! works a treat!

Topic Closed

This topic has been closed to new replies.

About this Topic