Permalink forcing "-2" after post type name
-
I have a few different custom post types on a site I’m building. Some of these ‘entities’ share a name. I have, for example, a car name “viper” and a snake type “viper”. These are using completely different rewrites to get completely different URLs, repsectively:
– viper (car) is: https://mysite.com/cars/viper
– viper (snake) is: https://mysite.com/snakes/viperMy issue is that on the post type that I create after the first, that shares a name, a -2 is getting appended, e.g:
viper (snake) is getting: https://mysite.com/snakes/viper-2Is there a way to change this? These shouldn’t conflict since the URLs are completely different and it would only make sense if there were two snakes named “viper” with a permalink of “viper”.
- The topic ‘Permalink forcing "-2" after post type name’ is closed to new replies.