Skip to content

404: /custom_post_type/custom_taxonomy_category/post_name/ #107

@besweeet

Description

@besweeet

Setup (via Pods):

  • Custom post type: podcasts (we'll use episode-1 as an example post slug)
  • Custom taxonomy: podcast_series (we'll use XYZ as an example category)

Permalink settings:

  • podcasts format: /podcasts/%podcast_series%/%postname%/
  • In the permalink settings, whenever I select "Use custom permalink of custom taxonomy archive" and save, the page reloads but the box is still unchecked. Based on the description of the option, it sounds like it would do what I want (" If you check this, the custom taxonomy's permalinks will be /post_type/taxonomy/term"). I just can't get it to activate.

For the "podcasts" CPT, the settings are as follows:

  • Enable Archive Page: checked
  • Archive Page Slug Override: podcasts
  • Hierarchical: unchecked
  • Rewrite: checked
  • Custom Rewrite Slug: empty
  • Rewrite with Front: unchecked
  • Rewrite Pages: unchecked

For the "podcast-series" taxonomy, the settings are as follows:

  • Rewrite: checked
  • Custom Rewrite Slug: podcasts
  • Rewrite with front: unchecked
  • Hierarchical Permalinks: unchecked

What works:

  • CPT archive: /podcasts/
  • Custom taxonomy archive: /podcasts/XYZ/

What doesn't work:

  • Single post: /podcasts/XYZ/episode-1/

I've tried multiple combinations of settings across permalink settings and settings in Pods, either the single post page works and the taxonomy archive doesn't, or it's the other way around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions