Fixing a Broken WordPress Installation
If you do something that changes the URL of your WordPress® site, you need to update the database with the new URL for your site to work properly.
Have you:
- Changed the domain on the hosting account on which WordPress was installed?
- Moved the WordPress installation directory?
In both of these cases you need to fix your installation by updating the WordPress database to point to the new location of your WordPress installation.
TIP: If you are thinking about moving your WordPress installation, but haven't done it yet, you should do it the correct way. For information, see Changing the Site URL in WordPress' codex.
To Fix a Broken WordPress Installation
NOTE: Before following this procedure, we recommend backing up your database. For more information, see Backing up and Restoring MySQL or MSSQL Databases.
- Enter phpMyAdmin for the database you used for WordPress. For more information, see Accessing PHPMyAdmin on Your Shared Hosting Account.
- Click the top menu on the left side, for example:
blo11381542067
. - Click wp_options.
- Go to the Browse tab.
- In the row containing the siteurl value, click Edit.
- In the option_value field, delete your old URL, enter your new URL, and then click Go.
- Go to the next page.
- In row containing the home value, click Edit.
- In the option_value field, delete your old URL, enter your new URL, and then click Go.
After clicking Go, the database updates. Your site should resolve normally.
If you installed WordPress with Value Applications, the links in Value Applications still point to your old installation. As long as you update the links in the database, however, you can continue to upgrade your WordPress installation through Value Applications.