A quick and easy way to change WordPress's SITE URL
This is a quick and easy way to change WordPress's SITE URL without touching the database:
Add these lines to your wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Basically, they will force the site to use that address instead. Any config you make in the WordPress Admin Dashboard will not be affected.
Add these lines to your wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Basically, they will force the site to use that address instead. Any config you make in the WordPress Admin Dashboard will not be affected.