[wp-hackers] 404 Page on Custom Post Types and Custom Taxonomies

Otto otto at ottodestruct.com
Wed Dec 5 20:57:41 UTC 2012


On Wed, Dec 5, 2012 at 2:55 PM, Ryan Frankel <ryan.frankel at gmail.com> wrote:
> For clarification:  I had a line running 'flush_rewrite_rules()' that
> defaults to a hard flush.  This didn't affect the 404 page (I was not
> running it in any action).  The code the ran a filter on 'wp_loaded' works
> except for that once it is removed the 404 page returns.

Debug your rewrite_rules. Make sure they're getting saved properly in
the database, and that the options table isn't locked or something.

-Otto


More information about the wp-hackers mailing list