Support » Fixing WordPress » Help re-installing (replacing files) after Malware

  • Recently my web domain and a LOT of files on it we’re infected with some malware bug. I’ve managed to clear a lot of it off (simply by deleting a lot of files etc), however according to google some files within my /blog directory are still infected. I’ve simply copied over a lot of blog files from a clean folder to my webserver, however I have had to be careful as I obviously didn’t want to copy over EVERYTHING and potentially lose all the blogs I have done so far.

    So basically I was wondering, what files do I need to make sure not to alter in a wordpress install to make sure I retain all my blog history on site? Once I know this I think I’ll go ahead and copy over as much as possible in hopes of fully clearing this annoying malware infection I’ve had.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    The last post in the following thread contains some very good advice on clearing up after a hack:



    thanks esmi, I’ve had a look and it seems helpful…
    I thought I’d managed to clean it after upgrading to the latest word press and deleting some unnecessary stuff.

    Google, don’t flag my site as a malware place anymore, however my friend still gets alerts from my site.

    So I’m wondering…what files do I NEED to hang onto, when it comes to say deleting and re-uploading WordPress?

    I will, make sure to check the .php files for bad code in the files I must keep, and in regards to everything else I’ll just delete and replace with clean files. I only use 2 plugins for WP, 1 is a twitter plug in, and 1 is Askimet (the anti-spam thing). So it’s not as if I have too much depth in what’s rooted into my blog.

    thanks in advance for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help re-installing (replacing files) after Malware’ is closed to new replies.