Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to remove Viagra spam on the homepage?
Tagged: spam
- This topic has 6 replies, 3 voices, and was last updated 12 years, 2 months ago by
Charles Specht.
-
AuthorPosts
-
March 24, 2014 at 11:49 am #96430
Charles Specht
MemberI 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/Charles Specht
http://www.CharlesSpecht.comMarch 24, 2014 at 12:07 pm #96433Brad Dalton
ParticipantThere'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
March 24, 2014 at 12:15 pm #96435Summer
MemberThat 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 🙂
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkMarch 24, 2014 at 2:50 pm #96461Charles Specht
MemberThanks 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?
Charles Specht
http://www.CharlesSpecht.comMarch 24, 2014 at 3:15 pm #96475Brad Dalton
ParticipantI would run a scan using a plugin like Wordfence which should tell you which file the spam links have been injected into.
March 24, 2014 at 7:49 pm #96498Summer
MemberI 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.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkMarch 27, 2014 at 11:04 am #96974Charles Specht
Member -
AuthorPosts
- The topic ‘How to remove Viagra spam on the homepage?’ is closed to new replies.