How to create such URL structure for CPT with custom taxonomy
Question
I have a CPT – Market (eg Footlocker)
And I have a taxonomy – Countries
But countries are divided into regions, so they look like a subcategory (
Europe – France, Germany, etc)
I want to get a URL with this structure in the end:
site.com/France/footlocker
But now my link looks like this:
site.com/market/europe/france/footlocker
I need to get rid of CPT slug and parent category.
0
2 months
0 Answers
7 views
0
Leave an answer
You must login or register to add a new answer .