Comment Referrers 0.1


Here’s a small plugin that does a small but useful task. It reports where the people who comment on your blog come from. It then adds a line to the end of your comment notification or moderation emails with that information.

Download: comment-referrers.txt

Install by renaming the file to .php and placing in your plugins folder and activating it on your WordPress plugins page.

Update! Here’s the plugin page for this plugin.

60 thoughts on “Comment Referrers 0.1

  1. What shows up if the visitor comes from a bookmark, like I did?


  2. I notice that referrers aren’t always included – would this only happen if they access the post directly, from a bookmark, or are there other situations I should consider?
    I meant to ask, is the plugin not supposed to link to its page over at the official WP repository?
    Also, in case you’ve not seen it, there is a support query over at

  3. Chris – referrers aren’t shown when there isn’t one. Lately I’ve noticed an increase in spam comments with a referrer and noticed a pattern in my logs from the IPs of those commenters.
    The spammers have a new tool, it’s probably desktop based and probably launches a browser with the post in question. Those comments don’t have referrers.

    I didn’t have a specific page ready for the plugin when I created it, so I do need to point it at the right one now. Doesn’t have to be the wporg plugin page though. Thanks for noticing!

    1. HAHAHA, oh yes it will. You came from a Google search for “spam karma 2” “Name” “Email” “Leave a Reply” so I removed your email address (so you can’t leave further comments without moderation) and your url too. Bye bye spammer!

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.