WordPress: I can't get custom post tyle permalinks to work

I can sort of get “pretty permalinks” to work properly but my custom post type entries do not have the appropriate prefix in the URL. In fact they don’t seem to be treated like custom post type entries at all.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

SETTINGS -> PERMALINKS. Click SAVE. This forces WP to reset things. Also, make sure you’re not using the slug for the CPT elsewhere as that can get WP very confused.

Richard, <br> <br>You need to register a new “taxonomy” for the custom post type. I think this might help you: <br> <br>

mod_write is enabled…and like I said, permalinks sort of work, but not as intended. For example I can create (and view) a “Custom Structure” with an arbitrary prefix for blog post permalinks (e.g. But I can’t view category archives (e.g.…all I get is a WordPress generated 404 page. <br> <br>It’s really weird.