Question
My Sites Have Been Hacked - Whats the Best Security Prevention
Hi Guys
I have several wordpress sites hosted on an Ubuntu server driven by Nginx. Ive had to clean out many bogus php files and clean up my sites following an obvious hack
I have fail2ban installed and ssl Hardening, I have disabled root login and password access so only access should be via ssh.
I’m guessing this is a Cross Site Scripting attack so I’m wondering what else I can do to prevent a repeat of this in the future?
Any advice would be greatly appreciated
Thanks in advance
Matt
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×