What is the “with_front” rewrite key?

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….

Related posts

Leave a Reply

1 comment

  1. 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->/news/, true->/blog/news/). Defaults to true