I tried too many ways to write custom permalink structure for custom taxonomy and custom post type.

I writing it to show hospitals and clinic info. I’m trying to get permalink structure in following manners:

For Hospital:-
County: doamin.com/hospital/county/
City: doamin.com/hospital/county/city/
Hospital: doamin.com/hospital/county/city/hospital-name

For Clinic:-
County: doamin.com/clinic/county/
City: doamin.com/clinic/county/city/
Hospital: doamin.com/clinic/county/city/hospital-name

Blog:-
Parent Category:- doamin.com/blog/parent-category/
Child Category:- doamin.com/blog/parent-category/child-category/
Blog Post:- doamin.com/blog/parent-category/child-category/post-name
can anybody help me please.

Thanks in advance

Read more here: getting difficulty to write custom permalink structure for custom taxonomy and custom post type


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: