wordpress address (url) and site address (url) always reseting 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');