Duplicated WP site manually, now links redirect wrong [closed]

Found the issue: in wp-config.php, there was no http:// before the address on the define('WP_HOME' line.
From WordPress Codex:

Add these two lines to your wp-config.php, where “example.com” is the
correct location of your site.

define('WP_SITEURL','http://example.com');
define('WP_HOME','http://example.com');

Adding these properly solved the issue.

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