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

  • Posted May 1, 2014

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
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

To get permalinks working in wordpress you need to enable the mod rewrite in your web server.