-
Hello,
When I create post to the Blog, I have option to select “Primary” category. And slug of that category displays in URL (example: website.com/category-name/post-name
By using JetEngine from Crocoblock I created CPT. When I create post in CPT, I also have option to select primary category, but I can’t see the name of category in the slug. Here is how URL of CPT looks like: website.com/cpt/post-name. I would like to have something like website.com/cpt/category-name/post-name.
Is there an option in RankMath settings or PHP snippet that I could add to achieve that? I asked Crocoblock support, they told me to write to you.
Thanks!
The ticket ‘Add Primary Category to CPT slug’ is closed to new replies.