[wp-trac] [WordPress Trac] #20269: Random 404 error on taxonomies

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 21 12:06:56 UTC 2012


#20269: Random 404 error on taxonomies
--------------------------+------------------------------
 Reporter:  retroriff     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.3.1
 Severity:  critical      |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Old description:

> Hello,
>
> as I explained in the forum, I have detected an strange error with
> taxonomies. They get a random 404 error when receiving lot of traffic. I
> have reinstalled a clean WP, removed all plugins, and assigned the WP
> default theme, but still getting the 404. I have done several tests and
> my conclusion is that it only happens with custom structure permalinks.
> For some reason, WP randomly doesn't understand the taxonomy URL and ir
> server a 404. This is what I get when it works well:
>
> request] => blog/news/the-green-car
> [matched_rule] => blog/news/([^/]+)(/[0-9]+)?/?$
> [matched_query] => fotos=the-green-car&page=
> [did_permalink] => 1
>
> The same taxonomy page shows this when 404:
>
> [request] =>
> [matched_rule] =>
> [matched_query] =>
> [did_permalink] =>
>
> Here some details:
>
> - It never happens without traffic.
> - It never happens with default permalinks.
> - It never happens with post types, categories, pages or tags, only with
> taxonomies.
> - It also happens with the default TwentyEleven Theme and with any plugin
> installed.
>
> I'm very fustrated with this as every day I'm getting thousands of
> errors. Any suggestion will be apreciated.
>
> Thank you.

New description:

 Hello,

 as I explained in the forum, I have detected an strange error with
 taxonomies. They get a random 404 error when receiving lot of traffic. I
 have reinstalled a clean WP, removed all plugins, and assigned the WP
 default theme, but still getting the 404. I have done several tests and my
 conclusion is that it only happens with custom structure permalinks. For
 some reason, WP randomly doesn't understand the taxonomy URL and ir server
 a 404. This is what I get when it works well:

 {{{
 request] => blog/news/the-green-car
 [matched_rule] => blog/news/([^/]+)(/[0-9]+)?/?$
 [matched_query] => fotos=the-green-car&page=
 [did_permalink] => 1
 }}}
 The same taxonomy page shows this when 404:

 {{{
 [request] =>
 [matched_rule] =>
 [matched_query] =>
 [did_permalink] =>
 }}}
 Here some details:

 - It never happens without traffic.
 - It never happens with default permalinks.
 - It never happens with post types, categories, pages or tags, only with
 taxonomies.
 - It also happens with the default TwentyEleven Theme and with any plugin
 installed.

 I'm very fustrated with this as every day I'm getting thousands of errors.
 Any suggestion will be apreciated.

 Thank you.

--

Comment (by dd32):

 This sounds like MySQL load is getting high, and the rewrite_rules option
 is failing to load perhaps. I'd suggest this is a server configuration
 and/or load issue (well, thats obvious..) rather than a WordPress bug, I'd
 suggest looking into some caching (either Static files for generated
 content OR a Object cache to remove some of the load from the database
 such as APC or memcached) depending on actual traffic/server load.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20269#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list