rewrite rules add a folder in the path
I think that portfolios and locations are two custom types right? In this case you have to change the slug options inside the custom type registration: register_post_type( ‘portfolios’, array( … ‘rewrite’ => array(“slug” => “/production/portfolios”, “with_front” => false), ) );