Please read the information below to understand why WordPress website gets compromised:
1. In the WordPress website, people use NULLED theme and backdoor get a load with the NULLED theme. This leads to website compromise.
2. If the theme is not NULLED then the cracked versions of plugins are used that make the website infected/compromised.
How to save Guard from WordPress hacking:
We have implemented tools and technologies on the server side to secure the websites. It works 95% of the time and daily stops thousands of hacking attempts. However, if your website is compromised you should keep in mind that:
1. Never use a NULLED theme or plugin on your website.
2. Take daily backup of your website from cPanel. Follow this article for help https://portal.hostbreak.com/knowledgebase/125/How-to-GenerateorDownload-a-Full-Backup-in-Cpanel.html
3. If you want us to restore backup then it cost PKR 500 admin fee.
4. You may buy site lock security https://hostbreak.com/business-solutions/sitelock to further increase the security of your website.
5. You should use a Plugin such as WordFence (https://www.wordfence.com/)