I find that adding the URL to the wp-config.php file helps when transferring a site from local to live production.
define('WP_HOME', 'http://www.example.com'); // no trailing slash define('WP_SITEURL', 'http://www.example.com'); // no trailing slash
One thought on “How to Add the Site URL to the wp-config.php File”