Before I start my probelm, I’d like to say that I’ve searched over and over for months for a solution, I found some of them but didnt work exactly as I wanted to. I am an expericened developer, meaning I know most wordpress codex basic stuff… Let’s roll now
I am having a custom post type “business” and a custom taxonomy “directory” (for a business directory website)
I am trying to achieve rewrites URLs to
I have tried the solutions with adding hierarchical to true, has archive to tax name, even the add_filter(‘post_type_link’) with the %business$ stuff
All I’ve managed is to get are these URLs:
I need to get the hierarchical url work with the post type item like
Can you guide me with the most proper way (and less risky in coding) of achieving this?
- The topic ‘How to achieve post hierarchical rewrites for custom post types’ is closed to new replies.