Redirect only posts to New Domain

Thanks everyone for taking time to look and get it solved. After so many trials and try-catch, I managed to achieve the above task by adding these lines to .htaccess

RewriteCond %{HTTP_HOST} ^(www\.)?prsblog\.com$ [NC]
#RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|ico)$ [NC]
RewriteCond %{REQUEST_URI} !wp-admin
RewriteRule ^(.*)$ https://www.pyarb.com/$1 [L,R=301]

This solved my problem for instant.

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