I have a little WP blog running on Hostgator, nothing serious, just some personal sports stuff I have on there.
Few days I go I coulnd't access my site, or my WP admin page. So I contacted Hostgator support and they told me my site was infected with "iframe".
It got cleaned up, running, everything normal. I cleaned my PC with latest version of Malwarebyte's and Combofix. Changed the passwords.
Then I put AVG on my PC to keep it safe.
Now I went to edit something on my blog and I get the similar error.
I can't access the site, I can't access the admin page, and I can't connect to FTP with Filezilla, I don't know why's that happening.
Hostgator support told me that they've attempted to restore it already, but once it completed it was apparent that the site was hacked and then their backups ran.

How can I prevent this from happening? I mean, the blog isn't vital to me or anything like that, but it's annoying, I paid for the site to be up not down.
I don't go to those 3X or warez sites really, so I really don't know where do those virus' find me.
It seems AVG isn't enough. Any ideas how to keep the blog clean?
Few days I go I coulnd't access my site, or my WP admin page. So I contacted Hostgator support and they told me my site was infected with "iframe".
It got cleaned up, running, everything normal. I cleaned my PC with latest version of Malwarebyte's and Combofix. Changed the passwords.
Then I put AVG on my PC to keep it safe.
Now I went to edit something on my blog and I get the similar error.
Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/dnko051/public_html/index.php on line 17
Parse error: syntax error, unexpected '.' in /home/dnko051/public_html/index.php on line 17
I can't access the site, I can't access the admin page, and I can't connect to FTP with Filezilla, I don't know why's that happening.
Hostgator support told me that they've attempted to restore it already, but once it completed it was apparent that the site was hacked and then their backups ran.
How can I prevent this from happening? I mean, the blog isn't vital to me or anything like that, but it's annoying, I paid for the site to be up not down.
I don't go to those 3X or warez sites really, so I really don't know where do those virus' find me.
It seems AVG isn't enough. Any ideas how to keep the blog clean?