WordPress uses url different from defined in rewrite arg of custom post type

Try setting your ‘rewrite’ in the CPT to: ‘rewrite’ => false, save permalinks. check frontside of site to ensure it worked. (if it doesn’t you may have a duplicate code somewhere…) then set it back to: ‘rewrite’ => ( ‘slug’ => ‘banaan’, ‘with_front’ => false, ), flush permalinks again. Smile (hopefully) Why have you elected … Read more