I\'ve got a Wordpress site on our home intranet that has run into trouble now that the IP address has changed - The index page loads, but not the CSS and I can\'t log in to
Possibly WordPress.org's coverage of this issue was not available at the time the other answers here were written, but as of now I find it more complete and easier to follow.
In my case, the method of modifying wp-config.php
was only partially successful. The Relocate method described in the above web page ultimately succeeded.
Here is a synopsis of WordPress.org's coverage:
1 Changing the Site URL 1.1 Edit wp-config.php 1.2 Edit functions.php 1.3 Relocate method 1.3.1 Code function 1.3.2 Steps 1.4 Changing the URL directly in the database 2 Moving Sites 2.1 Altering Table Prefixes 2.2 Changing Template Files 2.3 Changing the Config file 2.4 Verify the Profile 2.5 Changing the .htaccess file 2.6 Additional items of note 2.6.1 Important GUID Note 2.7 Multi-site notes 2.8 wp-cli