I'm using a custom permalink structure for posts, which is domain.com/blog/%postname%/. However, I have a custom post type called 'events', and I don't want to use the default custom permalink structure for this custom post type, as domain.com/blog/events/ doesn't make sense. I want to just use domain.com/events. How can I override the custom permalink structure for a custom post type? I've found plugins that will allow you to set a custom permalink structure specifically for custom post types, but they won't allow me to remove the base permalink structure, only extend it.
with_front
in your post type registration code?