Remove multisite “blog” slug from specific custom post type

Set with_front to false to not prepended the front base to the permalink structure. Customize the permalink structure via the slug:

'rewrite' => array( 
    'with_front' => false, 
    'slug' => 'portfolio'
)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)