I have a blog and I want to make a modification to my custom post type to include the taxonomy term in the permalink. For example I have a custom post type named "my_services" and I have a custom post type to called "my_service_cats".
register_post_type( 'my_services', $args);
register_taxonomy( 'my_service_cats', 'my_services', $args);
In the custom post type I currently have the following items:
Hotel 1 / Hotel 2 / Hotel 3
The custom taxonomy contains the following terms:
Hotels / Rooms / Houses
Currently the url is
www.domain.com/services/hotel-1
and what I want it to be is
www.domain.com/hotels/hotel-1
I have been messing with the custom post type permalinks but the only thing I have managed to do is to create more problems with the posts categories that I already have.
Can you please help on how should I go about creating this structure?