Remove Custom post type slug and add category in permalink
-
Hello Guys
I am using CPT for creating custom post type and I used this plugin and it is creating URL like.
https://www.example.com/custom-post-type-slug/parent-category/child-category/post-name-slug/But I want URL for custom post type like
https://www.example.com/parent-category/child-category/post-name-slug/and also this URL should be work.
https://www.example.com/custom-post-type-slug/
Please help me is it possible to changes rewrite rule for this case or and a custom setting for register_post_type() function.
Really appreciate your help in advance.
Thanks
- The topic ‘Remove Custom post type slug and add category in permalink’ is closed to new replies.