• My site was hacked this morning, and all of my WP admin details were erased. I am hoping to somehow get the database with the content of my posts and the theme and menu I was using, save it on my desktop, and then deleting and reloading wordpress on my site. Any ideas?

Viewing 1 replies (of 1 total)
  • Just an FYI, your site has been cracked – not “hacked”. 🙂
    If someone cracked into your site, assuming that this is your own site (not a wordpress.com site), you should first download a dump of all of the WP tables. To do this:

    1. Go to the PHPMyAdmin interface that your host has give you.
    2. Go to the DB you put WP in.
    3. Click “Export”.
    4. Choose the tables you want (or if you aren’t sure what tables WP is using, just select all of the tables). If you aren’t seeing an interface to choose which tables you want, choose the option that says “custom”.
    5. Click “Go” (or something similar), and you’ll have a backup of your DB in a file (which can be saved to your desktop).

    Next, get all of your files. FTP into your site and transfer all of the WP files to your computer.

    When you want to get back your themes, copy the theme’s dir from wp-content/themes/ to your new site’s wp-content/themes/.

    If you have some pics that you’ve uploaded to your website, search your WP dir for the pics.

    When you want to get back something else, look through the DB (hint: the one that ends in “posts” should be the most helpful, as it has both your blog posts and pages).

Viewing 1 replies (of 1 total)
  • The topic ‘Hacked this morning’ is closed to new replies.