Right now I have changed the posts url using the settings -> permalink i.e /blog/%postname%/
I have now added a CPT and using the rewrite 'rewrite' => array( 'slug' => 'custom-posts' ),
but the urls for this custom posts are now inherriting the /blog/ from the standard posts so the urls look like /blog/custom-posts/post-title-here
when I just want it to be /custom-posts/post-title-here
.
Anyone know of a quick fix to achieve this ?