Skip to content

WordPress Adventure – NoScript Hack Solved

by Paul Kenjora on March 24th, 2008

I know this is a bit off the Django path but as it affects all my fellow Django bloggers who use Wordpress (any version), I figured I’d share. Over the past few days I noticed alot of <noscript> tags with weird links embedded in my blog, just above the comments. Then today my most recent post was removed and replaced with a long list of <noscript> encased links. This tactic is used by spammers to artificially inflate engine rank, I’m surprised it works but either way its a nuisance.

The Fix

The simplest and most effective way to fix the problem, after digging through the web to find a solution, is to remove the “xmlrpc.php” file from the wordpress directory. I renamed mine to some garbage name without a PHP extension and everything in WordPress seems to function OK. The drawback is that you will loose ability to remote publish your articles to WordPress. It beats having to fight off spam daily and its not a critical feature (I’ve never used it). The official thread from WordPress on the <noscript> attack may have more info. Upgrading WordPress does not seem to do solve the <noscript> problem. Again hope this helps, spread the word, spammers have no friends!

blog comments powered by Disqus