how to change WordPress Address (URL) and Site address url in wordpress settings 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');