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

Posted May 1, 2014 6k views
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.

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.

Submit an Answer
4 answers
To get permalinks working in wordpress you need to enable the mod rewrite in your web server.
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. I get is a WordPress generated 404 page.

It's really weird.

You need to register a new "taxonomy" for the custom post type. I think this might help you:
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.