WordPress 404s

Posted in: WordPress

On the King Design web site I use a set of custom rewrite rules to hand off URLs to the WordPress back end. I never had any trouble with this through versions 1.5.x, but when I upgraded to 2.0.x, I ran into some trouble.

As it turns out, I ran into more trouble than I had realized.

It appears that ever since the upgrade, all pages on kingdesign.net have been returning 404 error messages along with the page content.

Doh!

I’ve “fixed” this by changing the status_header function to suppress the 404 header, which isn’t much of a fix.

Point is, it looks like my previous :scare: solutions :/scare: were not sufficient - just wanted to make you aware of that if you’d used my previous notes as a guide for anything.

Popularity: 5% [?]

Posted May 31st, 2006 @ 5:13 PM

5 Replies

  1. Dave adds this Comment:

    FYI - can’t even get to the KingDesign homepage right now.

    May 31st, 2006 at 5:43 pm

  2. Alex adds this Comment:

    There are gremlins, gremlins I say! wreaking havoc all over the internets!

    May 31st, 2006 at 5:53 pm

  3. Weiran Zhang adds this Comment:

    I had quite a few rewriterule problems when I upgraded to v2. If you have a poke around the WordPress.org forums you can probably find the solution there.

    May 31st, 2006 at 5:55 pm

  4. markku adds this Comment:

    I just discovered the same thing today that a plugin I made was doing this as well, a result of the tricky changes in WP2.

    I added a filter for “query_vars” and set $error=” and I think the 404 is gone now.

    I wish WP would revert to its much simpler days. Even working with the rewrite rules now seems like a daunting task.

    June 1st, 2006 at 3:16 am

  5. koolguy adds this Comment:

    Hey, same story goes here.

    Does it mean that upgradation is not better though!!

    What can i do to solve it?

    I am not at all technical perosn either.

    Please, tell me how can i solve this 404 error?

    It is really irritating & i am wired.

    June 15th, 2006 at 8:22 am

Add a Comment

Please note: Use of a non-personal web site or blog in the field below and/or comments that are off-topic, personal attacks, or support requests will likely be removed at my discretion.

Note: This post is over 2 years old. You may want to check later in this blog to see if there is new information relevant to your comment.

In the Office » « TechCrunch Party in Seattle Tomorrow

About This Site

This is the personal web site of Alex King, a web developer in Denver, Colorado USA. More...


Crowd Favorite

Crowd Favorite is my software and web development business.

We build web applications, design and develop custom WordPress themes and plugins, and build custom sites using WordPress as a CMS.


I also have a tumblog that aggregates my online content from other services (Twitter, Flickr, del.icio.us. etc.).

I'm voting for Barack Obama

Ads