WordPress Strangeness

I accidentally deleted my blog. My web hosting company is Bluehost and they use a system called SimpleScripts to facilitate installing things like WordPress and MediaWiki, etc. You can view all of your script installations in one place. Well, my list showed three WordPress installs. This is correct. I have a couple of test blogs that I use to experiment with layout, etc. My main blog was listed like this:

http://www/

I had several other scripts installed, a couple photo galleries, a wiki, a web site builder, etc. I wanted to delete everything except my three WordPress blogs. I clicked away and I clicked on the one that looked like this:

http://www/

Well, it turns out that was my main WordPress installation. There is no undelete button. I immediately logged into cPanel and downloaded the last backup of the MySQL database for my blog. Fortunately, when you delete a blog using SimpleScripts it doesn’t delete all of your files. I used Bluehost’s backup and restore utility to restore the databse and I used SimpleScripts to install a new WordPress blog and I edited the wp-config file to match the correct database settings. It didn’t work.

I then downloaded WordPress from WordPress.org and uploaded it via FTP. I created a new wp-config file, uploaded that and voilà! All of my posts were restored, but the website showed up as a blank page. I then installed a new theme and it worked. For some reason the Twenty Eleven theme was broken. Maybe when you delete a blog using SimpleScripts it breaks certain themes.

WordPress keeps all your images in a folder called wp-content. I restored this folder and switched back to my old theme. So far everything seems to be working okay.