Title: Importing my Posts
Last modified: August 20, 2016

---

# Importing my Posts

 *  [bfloris11](https://wordpress.org/support/users/bfloris11/)
 * (@bfloris11)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/)
 * Hi,
 * Ran into a bit of a problem.
    This morning my WordPress site was hacked into.
   I removed all of my files, made a new database, and just re-installed WordPress.
   I have a WordPress post back-up file from when I was hacked 2 months ago so I
   tried importing it. Nothing is showing up and all my attachment uploads failed.
 * Is this common? Looking to get the site up soon and need to find a way to get
   all of my content back without using the old host database.
 * Any help appreciated.

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

 *  [David Wang](https://wordpress.org/support/users/blogjunkie/)
 * (@blogjunkie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521517)
 * Why don’t you connect your new WordPress installation to the old database, then
   export those posts. Then create a new database, connect WordPress to that and
   import the posts. This way you’ll definitely have the latest posts.
 * You can then run the Exploit Scanner plugin and other similar ones to see if 
   the posts you imported was infected. In 90% of cases they won’t.
 * Remember to keep WordPress and plugins updated! Also consider signing up for 
   my [ _moderated – [http://codex.wordpress.org/Forum\_Welcome#Signatures](http://codex.wordpress.org/Forum_Welcome#Signatures)_]
 *  Thread Starter [bfloris11](https://wordpress.org/support/users/bfloris11/)
 * (@bfloris11)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521521)
 * Is there a way to do that despite no longer being able to log-in to my old WordPress
   user on my old database though? Or else I would just use my old database.
 *  [David Wang](https://wordpress.org/support/users/blogjunkie/)
 * (@blogjunkie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521524)
 * So you deleted your old hacked site database too? and your backup export file
   seems like it’s corrupted?That’s really tough luck.. but try asking your web 
   host for backups. They may have one a few days old..
 *  Thread Starter [bfloris11](https://wordpress.org/support/users/bfloris11/)
 * (@bfloris11)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521525)
 * I have my old database, so does that mean I can still access user accounts? The
   person who hacked my blog changed/deleted all of the users in the WordPress backend
   so I cant export my posts from my Wordpess backend.
 *  [David Wang](https://wordpress.org/support/users/blogjunkie/)
 * (@blogjunkie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521528)
 * I see.. try this and see if you can get access to your database again
 * [http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database](http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database)
 * If you need further help, [_moderated – [http://codex.wordpress.org/Forum\_Welcome#Signatures](http://codex.wordpress.org/Forum_Welcome#Signatures)_]

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

The topic ‘Importing my Posts’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [David Wang](https://wordpress.org/support/users/blogjunkie/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/importing-my-posts/#post-2521528)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
