Answer the question
In order to leave comments, you need to log in
How to set the same slug for different terms?
Hello.
You need to do this
Brands (/brands)
- Adidas (/krossovki-adidas)
- - Basketball ( /basketball)
- - Football (/football)
- Nike (/krossovki-nike)
- - Basketball ( /basketball)
- - Football (/ football) - Saucony (
/
krossovki
-saucony)
- - Basketball (/basketball)
- - Football (/football) Adidas is also /brands/krossovki-adidas/basketball
But we can’t just create /basketball/ there and there, because according to the WP standard, we will not be allowed to do this.
How can this be resolved?
Answer the question
In order to leave comments, you need to log in
1. Make sports a separate taxonomy.
2. Give it a custom rewrite_rule like /brands/krossovki-%brand%/%sport%/
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question