Changing the Site URL #Changing the Site URL
There are four easy methods to change the Site URL manually. Any of these methods will work and perform much the same function.
Edit wp-config.php #Edit wp-config.php
It is possible to set the site URL manually in the wp-config.php
file.
Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
define( 'WP_HOME' , 'http://example.com' ); define( 'WP_SITEURL' , 'http://example.com' ); |