so I added
if( is_main_site()) { $slug = 'uniquename'; } else { $slug = 'uniquenametwo'; }
and
'rewrite' => array('slug' => $slug ),
inside register_post_type function and it worked. before i tried outside it. Im new to this.
Anyway this worked in my case.