I'm working in a multisite instance of WP that is using subdirectories and am trying to add a custom post type to a child site.
I'm trying to get custom post permalinks that look like so:
The subdirectory of my site is 'my-site'
The slug of the custom post type is 'my-post-type'
The permalink structure for my site is:
My 'rewrite' value for the register_post_type function is:
$args = array( ... 'rewrite' => array('slug' => 'my-post-type', 'with_front' => true) ... );
I've flushed my rules with:
global $wp_rewrite; $wp_rewrite->flush_rules()
No matter what, the permalink URLs I end up with are like so:
Is there anything relating to multipress, custom post types, and subdirectories that I'm missing?