How to add a base/front slug/url to specific post types?

You can achieve this with the slug argument when you register your post type.

$args = array(
    'rewrite' => array( 'slug' => 'my-base-slug/custom-post-type-1' ),
    // your other args...
);
register_post_type( 'mycpt', $args );

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