wp-admin keeps forwarding me to an old url

Problem found 🙂 The DigitalOcean droplet was set up for the exampleshop.com domain name, so I needed to go into the apache vhost configuration and change the config files.

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