Change WP_SITEURL and WP_HOME


Description: 

In wp-admin > settings > general you define the WordPress Address (URL) and the Site Address (URL).

You can also do that by adding:

define( 'WP_SITEURL', 'http://example.com' );
define( 'WP_HOME', 'http://example.com' );

to wpconfig.php




Kind:

PHP