change wordpress url via wp config code example
Example: wp-config change url wp-config
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');