Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404: /custom_post_type/custom_taxonomy_category/post_name/ #107

Open
besweeet opened this issue Mar 24, 2021 · 0 comments
Open

404: /custom_post_type/custom_taxonomy_category/post_name/ #107

besweeet opened this issue Mar 24, 2021 · 0 comments

Comments

@besweeet
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant