What’s interesting here is that WordPress, if you are already using ‘pretty’ permalinks should be giving you a nice permalink structure for you CPTs as well as for your other content. Breadcrumb NavXT uses WordPress API calls that generate the URLs for it, nothing custom there so if things are configured correctly your nice permalinks should propagate everywhere. The only time ugly things show up still in this case is when you have a category with posts and other CPTs as members and you filter by post type on that archive. I’ll look more into this.
Thanks for responding.
Ive only just managed to get it to handle them by using filters for ‘post_type_archive_link’ and ‘term_link’ for custom post types and taxonomies. Based on my own rules in the functions I pass to those filters it handles them as expected and outputs them correctly in Breadcrumb NavXT.
Greatly appreciate the help and I hope this helps others when using custom post types and taxonomies with own rewrites.
- The topic ‘Permalinks not working with Custom Rewrite Rules Custom Post Types’ is closed to new replies.