[Support request] Malware infects header.php

Home Forums Support [Support request] Malware infects header.php

Home Forums Support Malware infects header.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251087
    Sudhanshu

    I am using GP on two sites. BOTH sites are constantly getting affected due to malware. Upon running cleanup, the header.php file show to be infected. Please help

    #251092
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    There are many reasons a WordPress site gets hacked.

    Most of the time, it’s due to an insecure shared hosting environment. There might be a back door into your server somewhere, and it could be due to another site sharing your server. That’s the problem with shared hosting.

    There’s tons of information out there you can find that will show you how to clean up a hack, and prevent them in the future.

    https://sucuri.net/guides/how-to-clean-hacked-wordpress
    https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/
    https://premium.wpmudev.org/blog/cleaning-up-after-wordpress-hack/

    There’s tons more out there if you search for them.

    What I do to prevent hackers:

    1. Keep WordPress, plugins and themes up to date.
    2. Make sure my server is always up to date with the latest PHP/modules.
    3. I personally like iThemes Security Pro as my security plugin.

    Hope this helps!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.