Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.