I have created a custom post type named "cars" and now every post that I make with this post type has the "cars" slug before it. I don't want that.
so all my posts look like this
I have used
'rewrite' => array( 'slug' => '')
when registering the post type but that didn't work. Does anyone know how to remove the custom post type slug from my permalinks?