taxonomy type property_city
rewrite slug is = property-city
taxonomy type property_type
rewrite slug is = property-type
all this taxonomy is registered for post_type 'property'
The current URL structure is this: post_type: https://web.com/property/property-name
taxonomy type property_city
https://web.com/property-city/name-of-city/
taxonomy type property_type
https://web.com/property-type/name-of-type/
So the main question can I make change taxonomy rewrites of each one to achieve the URLs like this:
- https://web.com/property-city/name-of-city/
- https://web.com/property-city/name-of-city/page/2 a lot of cities with pagination
- https://web.com/property-city/name-of-city/name-of-property-type/
- https://web.com/property-city/name-of-city/name-of-property-type/page/2 also a lot of cities and types with pagination
The idea is if add to the property city some property type in URL and just show the properties according to of this filter (certain city and if is set certain type) with pagination
I hope I am clear enough.
All that a found here is some fixed URL like this /city/city-name/type-name/ its simple but can it be possible when URL is dynamic? And what is the best way to do this?