Change URL of posts and also Custom Post Type

Answer is to use ‘with_front’ => false in the rewrite array 🙂

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