Is it possible to build optional url prefix using
add_rewrite_rule for both post and page types? There is
pagename parameter and I am quite confused.
What I am trying to achieve is an optional prefix based on meta, e.g.
new/%slug% which works for both post types and only when the post type has the meta information
new. Thanks for the help in advance!