The entire content of my WordPress page has disappeared

I have a blog installed on my site using WordPress. Last week I upgraded WordPress from 2.6 to 3.0.4 (I had to do this manually).

All went well, or so I thought, but I have just noticed that the content of an existing page has vanished. The page URL still works, but all content has disappeared – doctype, html tags, body tags, everything.

Read More

Please note, this is specific to pages – posts are still displaying fine.

I have since created a brand new page which does not display the content either.

Things I have tried include

* Switching to a freshly installed theme
* Reverting the page to an older version
* Deactivating all plugins
* Setting the problem page to draft, and back again
* Deleting the .htaccess file

I suspect it’s a database problem and have contacted my hosting company who have said the only thing they can do is restore the DB from a backup, but that I should consider it a last resort.

Does anyone have any further ideas what to try?

Related posts

Leave a Reply

1 comment

  1. Thanks everyone for your suggestions – the page is now back up and running, but I am not certain why.

    My theory is that I actually fixed it by deleting the .htaccess file which I removed from the root of /public_html and assumed would be recreated by WordPress.

    It’s not been replaced in the /public_html folder, but without me noticing a .htaccess file was created in the /public_html/blog folder (where the blog is kept).

    As I didn’t notice this at first I can’t be certain this was the solution, but it is my best guess.