CPT remove /blog/ by add new portfolio default /blog/%postname%/

Your $args array is missing the rewrite argument, specifically with_front, which is what controls whether or not the permalink front is added to the CPT.

$args = array(
    'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ),
    // other args...
);

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