I'm in multisite where some blogs share the same parent theme for maintenance reasons. All my cpts come from that parent theme, but I would really like that, for one of the blogs, it had an URL mask.
I found this answer very useful to change labels, but I've tried to do the same and assign a different slug to
$wp_post_types[$post_type]->rewrite['slug'] and it fails, bringing the whole rewrite array to NULL.
I've also tried .htacces with
RewriteRule ^/newslug$ /oldslug [L] but with no success.
Is there a clean way to do this?