Hey people,
I’ve searched through the ThemeForest forums, WP forums and another 10+ blogs, but still can’t find a solution to this.
Here’s my situation.
I’m trying to create a real estate WordPress theme.
I have created a custom post type called apartments (code used) and added a hierarchical taxonomy (like categories), called locations (code used).
I’ve set permalinks to category / postname .php
I have added some categories to Locations, like so:
- New York
- Brooklyn
- Los Angeles
- Cape Town
Now, in a ‘normal’ situation, where you would publish a POST (the built in ones), if I assign it the ‘Brooklyn’ category, I would get the following URL :
http://www.mysite.com/new-york/brooklyn/post-name
However, when using custom post types for the exact same situation, I cannot find a solution to include the Location taxonomy in the URL .
All I get is: http://www.mysite.com/apartments/post-name
Is there any way I can have the URL like so:
http://www.mysite.com/apartments/brooklyn/post-name.php or even http://www.mysite.com/apartments/brooklyn/post-name/
This is driving me NUTS and even after reading through many renowned WP blogs, I can’t figure it out – nothing works…
Any tips are highly appreciated 


