• Hi guys.

    I’m with a problem regarding permalinks on a custom post type. I have a CPT called events and a taxonomy associated with it called type.

    The permalink for taxonomy is like “rewrite(slug => ‘/’)” to be included in the url only the taxonomy name.

    The permalink for events is like “site.com/%type%/event-name”.

    I have done this by adding a post_type_link filter that changes the %type% to the correspondent taxonomy name for that event. But with this Pages and Posts don’t work and are redirected directly to the 404 page.

    Does anyone faced this error before? Any working solution?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pages and Posts not found after CPT permalinks change’ is closed to new replies.