Currently my permalink structure for posts is
domain.com/post-title
I’m using a static front page and a “blog” page for posts. I’d like to to change the permalink structure for posts, tags and categories to
domain.com/blog/post-title
I can easily add /blog/ in the permalink structure but the catch is that my custom post types also get this modified permalink structure and that is not the desired result.
Thanks in advance!
When you register your post type, the
with_front
argument ofrewrite
should befalse
, so the permastruct is not appended to the front of your custom post type permalink.