Too many redirects error when change of base url

Have you tried defining WP_SITEURL and WP_HOME to point to the correct URL? This “overrides” the DB settings. https://codex.wordpress.org/Editing_wp-config.php#WP_SITEURL If that doesn’t work, the next thing to try is the RELOCATE method https://codex.wordpress.org/Changing_The_Site_URL#Relocate_method

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