After site transfer I’m still getting redirected to the old site (WordPress)

I found the solution for this:

Settings » General » Change URL address

I changed my site URL to new and it’s working just fine.

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