How To Fix A Broken WordPress Installation
You ever install a new WordPress site only to see the theme displayed as plain HTML? Doesn’t that just bug the crap out of you?
I know it does when it happens to me. That’s why I’m putting together this post to help you walk through fixing your broken WordPress installation and make it work once again.
A little side note, I am going to be doing this tutorial ASSuming that you use GoDaddy. If you don’t the steps will probably be similar, but not exact. I highly recommend using GoDaddy.
Here’s the breakdown: 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 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. See the Moving WordPress Within Your Site section in the Moving WordPress article on wordpress.org.
How To Fix Your WordPress Installation
NOTE: Before following this procedure, we recommend backing up your database. For more information on how to backup your database with GoDaddy, see Backing Up and Restoring MySQL or MSSQL Databases.
- Log in to your Account Manager.
- In the My Products section, select Hosting.
- Next to the hosting account you want to modify, click Manage Account.
- In the Databases section of the Hosting Control Center, click MySQL.
- Next to the WordPress database, click Manage via phpMyAdmin.
- Enter the username and password for your database.
- On the phpMyAdmin page, click the SQL icon in the upper left.
- Enter the following:
UPDATE wp_options
SET option_value = ‘http://www.newlocation.com’
WHERE option_value = ‘http://www.oldlocation.com’where http://www.newlocation.com is your site’s new address and http://www.oldlocation.com is your site’s old address.
- Click Go.
After clicking Go, the database updates. Your site should resolve normally.
If you installed WordPress with Hosting Connections, the links in Hosting Connection 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 Hosting Connections.
I hope this helped you out. Please leave your comments below if you have any further questions…
If you enjoyed this post, you might also like my eBook Article CannonIf you haven't got it yet, you may want to download this private interview with Frank Kern. Thanks for visiting!
Related Posts
-
Panda Marketer
-
mcinpat
-
brucebackman
-
Phil Jackson






















