I've created a custom taxonomy (for location) and I would like to have this taxonomy in my permalink.
Now I have: %category%/%postname% and I would like to have %location%/%category%/%postname%.
Via google I found this code:
It is working for posts. However, I get 404 errors on pages. Hence, there is some permalink conflict. Any suggestion to fix this?