Custom rewrite url structure for several custom taxonomy (NOT pos_type)

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 alot 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 alot 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 of this filter (certain city and if is set certain type) with pagination

I hope i am clear enough.

All what 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?

Read more here:: Custom rewrite url structure for several custom taxonomy (NOT pos_type)

Leave a Reply

Your email address will not be published. Required fields are marked *