Site Hacked; How to Do Fresh WordPress Install (3 posts)

  1. powerhomebiz
    Posted 2 years ago #

    My site has been hacked and yesterday was being redirected elsewhere (looks like through the Timthumb vulnerability). We've solved the redirects but looks like the damage is far greater than we thought. There are still loads of malicious scripts in various files. We put up a backup version of the site from weeks ago but the theme and CSS are broken.

    Looks like the best option is to do a fresh reinstall of WordPress.

    My questions are:

    1 - How do I backup only the files? I don't want to backup the database as it looks like there are loads of malicious scripts still there

    2 - When I do a fresh install of WordPress, how do I upload my files back up. I will be doing a new theme design for the site

  2. Tara
    Volunteer Moderator
    Posted 2 years ago #

  3. The Hack Repair Guy
    Posted 2 years ago #

    Well, WordPress is really not that complicated.
    Your content lives in the wp-content directory, so make sure to download that to you computer.

    The rest you can overwrite from a virgin source (WP respository).
    Of course make a backup of all before following my advice. :)

    Once you clean up the wp-content directory files, then upload that over the existing files.

    Yes, I know this is a gross oversimplification, but may do the trick in at least getting you stabilized and working once again.

Topic Closed

This topic has been closed to new replies.

About this Topic