Andersss
Member
Posted 4 months ago #
Hi,
I have a problem: Sometimes visitors get redirected to a spamsite (online-dating service) when they navigate on my site. I figured it's some kind of malicious code hidden somewhere in my theme-files but I can't find it. Anyone know how to remove this? Thanks!
Andersss
Member
Posted 4 months ago #
Thank you for taking your time!
I ran my site at http://www.unmaskparasites.com/ and found a suspicious javascript in header.php. After I removed it the problem is solved.
I had installed several security plugins before but none had worked.
No, simply removing bad code may not prevent another hack - it does not address how the hacker got into your site. I'd suggest you go through the rest of the resources listed.
Andersss
Member
Posted 4 months ago #
The thing is I got the theme from a suspect source, so I'm pretty sure it was delivered to me with the code already in the header.