Works like a charm!
-
I wanted to rewrite a custom post type permalink that would include a taxonomy term (www.site.com/custom-post-type/term/postname) but I was unable to make it work. I tried bits and pieces of code I found on StackExchange but none worked 100%.
I found this plugin and after activating it and updating the permalink structure for my post type, my permalink structure worked like a charm!
Archive pages for post and taxonomy work also.
Not sure what I did is correct, but both my CPT and the taxonomy have the same slug in the rewrite rule.
- The topic ‘Works like a charm!’ is closed to new replies.