Can't get the same proxy name for multiple custom post types

I have 2 custom post types (our works and examples) on a WordPress site. If I add the same name (Pepsi) to my 2 custom post type (our works and example), the link is shown below:

1) www.example.com/our-works/pepsi/

2) www.example.com/case-study/pepsi-2/

But it should be like:

1) www.example.com/our-works/pepsi/

2) www.example.com/case-study/pepsi/

+3


source to share


1 answer


After looking for the clock ... I finally figured it out. Posting this for anyone else who might be facing the same issue.

I have 2 solutions:



+3


source







All Articles