AJAXify your Wordpress

Learn how I ajaxified my wordpress blog with these few steps...

SBS Show!

Listen to the latest episode of the SBS Show, Dave Sobel talks about process management...

Vladville Newsletter!

Looking for a more focused, exclusive insight into the world of SMB tech & business? Sign up for my newsletter!

Stopping WordPress Trackback SPAM
Posted: 11:28 pm
July 3rd, 2007
Post a comment
WordPress

Spamming is a hard job. Spamming blogs is even harder. I’ll save you the colorful description of what I think of the people that do this, and as of late a particular site (universityupdate.com) has been a big thorn in my side. It’s your typical Adwords scumbag, trying to get links any way possible so someone would accidentally click on some of the ads and bring them a quarter.

So how does one get rid of this site, or perhaps any site, you don’t want trackbacks from via Wordpress? Simple, just edit your wp-trackback.php and add this somewhere towards the bottom of the script (make sure you’re not putting it inside any other if { } statements:

if (preg_match(”/\buniversityupdate.com\b/i”, $tb_url))
{
        wp_redirect(get_permalink($tb_id));
        exit;
}

Pretty simple. Save the file and you’re done. This can work in a number of ways, all that regexp looks for is presence of “universityupdate.com” string in the URL that the splogger is using. I don’t know why I didn’t do this sooner, its certainly faster than nuking a blog comment.

11 Comments

Cum scapi de trackbackuri enervante | de ce? blog |

[...] mai utila modalitatea asta, decat sa dai de atatea ori delete comment. Multumiri lui Vlad pentru [...]



TimBarrett |

ROFL - nice trackback!



vlad |

Have you seen the site authority for the trackback though?

http://technorati.com/blogs/deceblog.net?reactions



  STOP Trackback Spam — Malaysians Abroad Blog |

[...] found a great tip for bloggers on Wordpress. It teaches you how to get rid of this kind of trackback [...]



Splogs at Incessant Expressions |

[...] site was stealing my content so I searched for something quick to fix it. I came across this post from someone having the same problem. It’s a great one-time fix, in fact, that’s just [...]



Theo Quast |

This section contains tactics Â……

They are similar because they are sketchy and morally dubiousÂ…….



Winford Deroko |

This section contains tactics Â……

They are similar because they are sketchy and morally dubiousÂ…….



laptop-security.alarmhousesystem |

[...] peg out this intimidating report at http://www.vladville.com/2007/07/stopping-wordpress-trackback-spam.html about [...]



social-security.alarmhousesystem |

[...] run across more about that here http://www.vladville.com/2007/07/stopping-wordpress-trackback-spam.html [...]



Cum scapi de trackbackuri enervante | de ce? blog |

[...] Ctrl-S. Upload back to server. Poti bea acum o bere in cinstea lui Vlad. Daca te mai supara vreun nene cu trackbackuri urmezi pasi de mai sus din memorie sau revii aici ca [...]



Blog Roundup for the 4th of July 2007 :: Christopher Ross |

[...] from The Taboo Topics You Need to Know When Choosing A Web Host. It was wonderful to get a lot from stopping wordpress trackback spam. Kudos To WordPress As usual 070707 is valuable. Jeff Matis for City CouncilCustom WordPress? Theme [...]



Leave a Reply

OpenID

Anonymous






 

Categories

 

Archives

 

About

Divider Divider