How to remove Viagra spam on the homepage?

Community Forums Forums Design Tips and Tricks How to remove Viagra spam on the homepage?

This topic is: resolved

Tagged: 

This topic contains 6 replies, has 3 voices, and was last updated by  Charles Specht 6 months, 1 week ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #96430

    Charles Specht
    Participant
    Post count: 26

    I have a website that I update for a friend who is a doctor and public speaker. There is an “erectile dysfunction” spam comment that keeps appearing on the front page of the site, mixed in with the other text. I’m trying to remove this but not sure what to do, etc.

    Any help you could offer would be greatly appreciated.

    The website is: http://ramonresamd.com/

    Charles


    http://ramonresamd.com/
    #96433

    braddalton
    Participant
    Post count: 9945

    There’s a heap of HTML links and text which have been injected into your files.

    You need to find out where they have been injected and remove them.

    I would run a scan using a plugin like Wordfence which should tell you which file the spam links have been injected into.

    Once you clean this up, you can then add some protection to prevent it happening again.

    WordPress security http://codex.wordpress.org/Hardening_WordPress


    #96435

    Summer
    Participant
    Post count: 1105

    That spam section is larger than you think, and is in a div that appears before your primary #wrap. You also have a ton of iframes from Facebook… are those supposed to be in there, or did your spammer sneak those in there too?

    Look at the code using Firebug Chrome Dev Tools, and you’ll see something created a div class of “d_fixedhead”, and that’s where all your spam and spam links are hiding.

    Also, what Brad said about Wordfence :)


    #96461

    Charles Specht
    Participant
    Post count: 26

    Thanks for the speedy reply!

    I’m a newbie at this so what “files” should I actually be looking at to edit/change? Are you referring to the functions.php or something else?


    #96475

    braddalton
    Participant
    Post count: 9945

    I would run a scan using a plugin like Wordfence which should tell you which file the spam links have been injected into.


    #96498

    Summer
    Participant
    Post count: 1105

    I prefer using Sucuri’s free website scanner as a first step, simply because I’m not comfortable installing new plugins on a hacked site that hasn’t been cleaned yet. Sucuri says that site has been infected with what they call SEO spam.

    Go to http://sitecheck3.sucuri.net/ to run the scan and read their results; they list some of the files that have been compromised.


    #96974

    Charles Specht
    Participant
    Post count: 26

    Thanks for all your help, everyone!


Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘How to remove Viagra spam on the homepage?’ is closed to new replies.