I have the following line in a register_post_type function:
'rewrite' => array('slug' => 'Newsletters', 'with_front' => false),
I understand what the line does in general (adds “newsletters” to the slug) but I don’t specifically understand what the ‘with_front’ part does. I have to admit, I don’t really have a problem that needs solving, but I’m suddenly curious….
From the Codex …
Should the permastruct be prepended with the front base. (example: if your permalink structure is
/blog/, then your links will be: false->
/blog/news/). Defaults to true