Wordpress rewrite Siteurl and Home settings
wp_options table has an option “siteurl” with url value from your site/blog and there’s the “home” option as well.
If move your WordPress blog to another domain, you can overcome this option by specifying them like so in the wp-config.php file, which override whatever is in the database:
define('WP_HOME', 'http://www.another-domain.test' );another-domain
define('WP_SITEURL', 'http://www..test/wordpress-directory');








