WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I accidentally deleted all my pages and posts from my wordpress admin. I was trying to delete some dummy data that one of my plugins installed on the website and wham!, all my posts and pages were gone.

In the wordpress dashboard, my uploads are not showing but when I looked in the folder on my server, they were all there. Why is is showing on the server but not in the wordpress admin?

I never backed up too. Now, what should I do to get everything back?

share|improve this question

Posts (including both blog posts and static pages) are stored in the database, not as files on the host. So, if you deleted them without first backing them up, you can't get them back.

You might check the Trash, to see if they're been trashed but not actually deleted. Otherwise, if you don't have a backup, they're gone. You might be able to recover some of the content from a search engine cache (e.g. Google), but that's about it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.