Title: Posts, Pages Etc. Deleted
Last modified: August 22, 2016

---

# Posts, Pages Etc. Deleted

 *  [jaaway](https://wordpress.org/support/users/jaaway/)
 * (@jaaway)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/)
 * We have a word press site that laid silent for about 3 years. Most of the plugins
   and word press itself became out of date. Also, an unknown admin account was 
   created on the site and it was accumulating around 200 spam comments each day.
   The first thing we did was delete the rouge account. The problem is that all 
   of our posts, pages etc. have been removed from word press. The home page was
   also changed as a result to show the most recent post. Seeing as there isn’t 
   one the page is blank and the navigation bars are all gone. I have all of the
   files on my computer backed up. What is the first step to getting all of out 
   files back where they should be. Someone suggested uploading a backup of the 
   database in C-panel. Does anyone have any suggestions as to how to get our site
   back online.
 * Thank you for all of your help.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429821)
 * What they said was right. To get the content back you need to re-upload a backup
   of the database from when you know it was “clean”.
 * If that’s not available… you could be out of luck. If the site ha been dormant
   for that long, and has been attacked by SPAM bots for that long, it might be 
   time to just re-start again as trying to fix an old out-of-date installation 
   that has lost all of it’s content is going to be a lot harder then trashing it
   all and starting from a base that you know is up-to-date and as secure as possible
   at this time.
 *  Thread Starter [jaaway](https://wordpress.org/support/users/jaaway/)
 * (@jaaway)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429822)
 * We were able to locate an older clean file. We did not get back all of the content,
   but most of it. The only noticeable issue remaining from the hack is that when
   the site is indexed on a mobile device it is rerouting the user to an adult site.
   Is this anything you have ever heard of?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429824)
 * Yes, it’s a pretty common hack. That could be a setting in you `.htaccess` file,
   but it’s also possible that it’s coming from your browsers cache and it hasn’t
   had enough time to “forget” and get the new settings again. I’d advise you to
   have a look at the `.htaccess` file to see if there’s anything there that’s not
   meant to be, and again scan the files in the site, and the database, to see if
   there’s anything there that might indicate that sort of redirection.
 *  Thread Starter [jaaway](https://wordpress.org/support/users/jaaway/)
 * (@jaaway)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429825)
 * KK, where can you view the contents of the .htaccess file. Will it be in the 
   editor or the FTP files?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429826)
 * You’d need to use FTP for that. The editor that’s built into WordPress doesn’t
   go that far down into the file structure.
 *  Thread Starter [jaaway](https://wordpress.org/support/users/jaaway/)
 * (@jaaway)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429831)
 * Just checked .htaccess with dreamweaver and it appears to be clean. Hmmm…frustrating.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Posts, Pages Etc. Deleted’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [hacked](https://wordpress.org/support/topic-tag/hacked/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [jaaway](https://wordpress.org/support/users/jaaway/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/posts-pages-etc-deleted/#post-5429831)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
