You probably just need to visit the permalinks page after registering the custom post type. This loads the custom post type's slug into the rewrite rules, so WP knows how to handle them.
On Thu, Jun 3, 2010 at 4:10 AM, Jason <[email protected]> wrote: > Thanks Stefan, I'd already done as indicated in that post. > > Guess I'll just have more of a poke around. > > > On Thu, Jun 3, 2010 at 6:47 PM, Stefan Wallin, Festiz Webbyrå < > [email protected]> wrote: > >> You should read this article >> >> http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/ >> >> It handles the 404 with permalinks-'issue' in custom-post-types. >> It is a matter of setting up the registration the correct way with an >> argument of 'rewrite' => array("slug" => "work"), to the >> register_post_types() or register_taxonomy() since they work sort of the >> same way: >> >> http://codex.wordpress.org/Function_Reference/register_taxonomy >> >> Stefan Wallin - Festiz Webbyrå >> ===================================== >> 0709-529 036 || [email protected] >> http://festiz.com || http://twitter.com/Stefan_Wallin >> >> >> On Thu, Jun 3, 2010 at 8:07 AM, Jason <[email protected]> wrote: >> >> > Quick question to see if others had/have a similar issue. >> > >> > I've just set up a fresh install of the latest RC with 1 custom post type >> > and 3 custom taxonomies linked to that custom post type. Everything works >> > fine on the default permalink structure then when I switch over to >> "pretty >> > permalinks" (Day and Name) all the custom posts and taxonomies 404. >> > >> > If I then go back into the permalinks settings and click save again >> > (without >> > changing anything - i.e. leave it on Day and Name) the permalinks start >> > working fine. >> > >> > Bug or just me? >> > >> > I've never had problems with the permalinks doing this before. >> > _______________________________________________ >> > wp-testers mailing list >> > [email protected] >> > http://lists.automattic.com/mailman/listinfo/wp-testers >> > >> _______________________________________________ >> wp-testers mailing list >> [email protected] >> http://lists.automattic.com/mailman/listinfo/wp-testers >> > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
