0

I have 2 Custom Post Type(Our Works and Case Study) in a WordPress site. If I add same postname(Pepsi) at my 2 Custom Post Type(Our Works and Case Study) the permalink will show given 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/

0

Thanks cybmeta I have installed a plugin called Allow Duplicate Slugs By John Blackbourn and fixed issue! also I come across another function.php solution too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy