Moving WordPress to a different directory – update XML Post File?

I would not recommend changing the XML file.

When you move the WordPress installation to your root directory, you want to change the WordPress URL and Site URL options in your Admin > Settings.

See official WordPress Codex page about Moving WordPress for more details.

You can also manually change “siteurl” and “home” in the database table “wp_options” (through phpMyAdmin or similar).

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