The .htaccess file of one of my website is hacked every 2 to 4 days and some malicious code is added in it which redirects my site to hackers website. The Google penalizes my site by a hacked message on SERPs.
I am facing this issue for the last 2 months and I am very much disturbed as to how to solve this problem.
So far I have done following with no results
1. Changed password of cpanel and ftp
2. Deleted all malicious looking extra php files apart from what is provided in wordpress kit.
3. Updates all plugins
4. Now I have the latest version of Wordpress
I am not getting the result still, my .htaccess file is still getting hacked by a bot I think. Please help!