- This topic has 2 replies, 3 voices, and was last updated 10 years ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi, my WordPress site got completely hacked. Every single page and post got html code added before the regular content. How on earth could this happen? How can "they" get in to do stuff like this? How do I protect other sites from the same thing happening?
Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
What is the URL to your website? Who is your hosting company?
Love coffee, chocolate and my Bella!
It can be a beast since it can occur in more than way. If you are lucky you can fix it by:
[*]Replace all WordPress files except the wp-config.php file via FTP with a new clean download from wp.org
[*]Delete all themes you aren't using including Genesis
[*]Delete all plugins
[*]Upload a new copy of Genesis and remove any malicious code from the child theme. Since the child theme is simple it should be easy to identify code that wasn't part of the original theme or code you added.
[*]Log back into WordPress and change your password
[*]remove any users you don't recognize
[*]upload your plugins again, make sure they are clean copies
[*]change FTP passwords and do a virus scan on your computer and any other computer that has FTP or admin access to the site.
You should check out this article
© 2022 WPEngine, Inc.