Changing WordPress core without hacking core

It is possible to set the site URL manually in the wp-config.php file.

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

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

or

Edit Functions.php

update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );

Try this Let me know any issue persist.

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