Welcome to WebmasterWorld Guest from

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Malicious Links

Affiliate links in header

8:47 am on Jun 30, 2016 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 25, 2013
posts: 61
votes: 3

Hi all

On Sunday I noticed that users landing on my site were being redirected to various casino websites as soon as they clicked on the page, I found some script in my header and removed it which seemed to work.

I actually contacted some of the casinos with the users affiliate link to tell them what they were doing, to be fair they responded very quickly to assure me they'd dealt with the individual.

So today the same thing has happened except the links were pointing to various different sites (games/dating/casinos) - the code was in <script>

I've removed it again but obviously I need to sort out how this person is getting into the site to inject this link.

Can anyone recommend any plugins/security software to use on the site to stop this happening - I am more than happy to pay for software for this so they don't have to be free options. I have read about Wordfence - does anyone use this and is it effective?


[edited by: travelin_cat at 9:32 pm (utc) on Jun 30, 2016]
[edit reason] removed link [/edit]

6:30 pm on June 30, 2016 (gmt 0)

Senior Member

WebmasterWorld Senior Member jimbeetle is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 26, 2002
votes: 9

You might have removed the links from the code but unless you remove the bug from the site it will keep re-infecting it. Contact your host for its help in this.

Most importantly make sure that your local machine is not infected with key loggers or other malicious bits and pieces. These are favorite ways for the bad guys to get into unsuspecting folks servers. Be sure to change credentials after scrubbing the machine.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members