First of all, thanks for this great plugin! As mentioned by Shaliza other plugins won't let you remove the cpt_slug and there are so many forum topics on the subject and each answer gives you a different code to try... that was very confusing!
So, here is my problem:
I have 3 CPT, here are my permalink settings with your plugin:
CPT1 : /%postname%/
CPT2 : /%category%/%postname%/
CPT3 : /%category%/%postname%/
CPT3 are working fine,
CPT1 gives me 404 pages.
I tried to set
/%category%/%postname%/ to make sure that the structure wasn't the issue. I still have 404.
All CPT have been created under the same fucntion, with a similar code, the rewrite attribute is set up as following:
'rewrite' => array( 'slug' => 'cpt_name', 'with_front' => false) ,
In fact, the only difference is that
CPT1 is hierarchical. So before I use the plugin urls for this post type were like that:
subpage2 is a child of
Any idea where the problem is coming from? Thanks