[wp-testers] Custom Post Type and Custom Taxomony Permalinks

Jason jason at findingsimple.com
Thu Jun 3 23:40:34 UTC 2010


Thanks Matt, I've visited the Permalinks page several times.

Something definitely seems a little out of whack - I'm not doing anything
out of the ordinary.

Just noticed I had to re-save permalinks again after deactiving a plugin
cause everything went back to 404'ing.


On Thu, Jun 3, 2010 at 11:35 PM, Matt Richmond <matt at crowdfavorite.com>wrote:

> 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 <jason at findingsimple.com> 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å <
> > Stefan.W at festiz.com> 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 || stefan.w at festiz.com
> >> http://festiz.com || http://twitter.com/Stefan_Wallin
> >>
> >>
> >> On Thu, Jun 3, 2010 at 8:07 AM, Jason <jason at findingsimple.com> 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
> >> > wp-testers at lists.automattic.com
> >> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >> >
> >> _______________________________________________
> >> wp-testers mailing list
> >> wp-testers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-testers
> >>
> > _______________________________________________
> > wp-testers mailing list
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list