Project Honey Pot WordPress Plugin

Description | Features | Screenshots | Demo | Version | License
Changelog | Download | Installation Instructions | FAQ | Support


This plugin automatically scatters invisible links to Project Honey Pot spam traps throughout your wordpress blog to help catch and stop spammers.
Project Honey Pot Target
Project Honey Pot is the first and only distributed system for identifying spammers and the spambots they use to scrape addresses from your website. Using the Project Honey Pot system you can install addresses that are custom-tagged to the time and IP address of a visitor to your site. If one of these addresses begins receiving email, Project Honey Pot not only can tell that the messages are spam, but also the exact moment when the address was harvested and the IP address that gathered it.

Install this plugin to help contribute to the project and catch spammers by hiding links to honey pots (spam traps) in your blog. The links are never visible to human visitors, but the spambots and crawlers follow them straight into the traps.

Note: this plugin will not directly prevent spam on your site, but will help prevent spam for everyone by helping to catch the spammers.

If you also want to use the Project Honey Pot API to detect and block spammers from your site, try the http:BL plugin.

Back to top


  • Outputs randomly generated invisible links to honey pots in order to catch spambots
  • Specify a locally installed honey pot, a quick link to someone else's honey pot, or both
  • Check if the current visitor is listed in Project Honey Pot's HTTP:BlackList
  • Output links to all visitors or just those listed in the HTTP:BL
  • Fully customize each location in which links are inserted

Back to top


Options Page
Project Honey Pot Options Page Screenshot

Back to top


Check out the source of this page! (or any page on my site for that matter)

You'll see several links to (my honey pot) that you don't see on the rendered page! Crawlers and harvesters don't know these links aren't visible and follow them straight into a trap.

Back to top


The current version of this plugin is 1.0.1

Back to top


This plugin is released under the GPLv3 license and comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.  I make no guarantee this plugin will work for you.

Back to top


2011-03-24 - 1.0.1:

  • Fixed upgrade bug that caused saved settings to be overwritten.
  • Fixed incorrect link on settings page.
  • Gave images and links that weren't explicitly hidden margin and padding of 0.
  • Gave this plugin's hooks last priority, which should hopefully ensure they are the last hooks to process content.

2009-09-11 - 1.0.0:

  • Initial release

Back to top


Download the latest version from the WordPress plugin page

Back to top

Installation Instructions

  1. Install a honey pot on your site or get a quick link
  2. Unzip the files from the download file
  3. Upload the entire `project-honey-pot` folder to your `/wp-content/plugins/` directory
  4. Activate the plugin through the 'Plugins' menu in WordPress
  5. Go to the Project Honey Pot options page and enter at least one honey pot URL
  6. Enjoy knowing that you are helping to make the world a better place

Back to top

Frequently Asked Questions

None yet.

Back to top


Please post any problems, comments, or suggestions on this page or contact me if you have an urgent problem.

If this plugin is useful to you, please consider donating to support further development:

…or maybe even buy me something from my wishlist:
My Amazon Wishlist

Back to top

  • Just wanted to point out something. If you use a link summarizer, like this one, the honeypot will show up in the list of links on the page. It was easy to remove using the options on that particular plugin, but you might want to mention it in your Other Information or FAQ.

    • Version 1.0.1 is out, and it's changed so that Project Honey Pot Spam Trap's hooks should run absolutely last, so other hooks shouldn't see the links. Let me know if you still have problems with your link summarizer.

  • @Tom Brincefield
    Good point. Thanks for letting me know. I'll check out how his plugin hooks into the post content. There may be a way for me to get around it in my plugin. If so, I'm sure the same strategy could avoid issues with many other plugins.

  • Andrew,

    Great idea and thanks for the work!

    Some suggestions/things to look if they can be solved:

    - When I allow the plugin in "the_post" hook it will insert a spamtrap link in the body tag of the page. Creating some formatting problems 🙂

    - Consider adding "projecthoneypot" as a one word keyword for the plugin at All the other releated plugins show up for that but yours.

    - Under installation instructions point out that unless they have already configured a honeypot or use quicklinks, people must register and configure a honeypot as per step 1-3 on the projecthoneypot add instructions page. Step 4 being where your plugin enters the game.

    - Maybe put a link somewhere to the related http:BL plugin? To clarify that your plugin traps but doesn't block spammers, but that there is one plugin that can.

    thanks again,


    • Version 1.0.1 is out and it has the new keyword, the extended installation instructions and description, and provided a link to the http:bl plugin.

  • @kjell
    Thanks for that feedback.

    -To address the first problem with the 'the_post' hook, that's why the hooks are configurable. Every theme allows those hooks in different places and some plugins change the way they behave as well. I should have had something in the FAQ about it though. I'll be adding something shortly.

    -I'll add the projecthoneypot keyword, instructions, and link to the http:BL plugin to the next release. I'm trying to fix an upgrade bug at the moment.

  • I just noticed that the links are messing up the formatting on my results from a Category search.and on my Archives pages. I have not added in any of the risky options on the plugin, but I am not familiar enough with php to know what to clear to prevent the bad formatting from showing up. Any ideas?

    • After looking at the Vigilance theme's source code, it looks like the 'the_time' hook is the culprit. Try disabling that one.

      • Yep, that got it. Thanks for the quick response. I wasn't looking forward to trying each of them and reloading the pages over and over. I suppose I could try something silly like try and learn PHP on my own, but I still have problems with CSS.

        • 😀 No problem. Glad I could help.

  • Pingback: Plugin: Project Honey Pot | Wordpress Lesezeichen()

  • Pingback: 10 Plugins contra el SPAM | Guia WordPress()

  • Dimitri

    Thanks Andrew - using your plug in my site - just a suggestion - as the site theme styles any images to have padding, border and background colour - I had to add a class to the image creation areas of the script, and then apply cancelling styles using that class so that the little image squares didn't appear - just an idea for future release.

    Be great to display some sort of stats on the site as well in some way from the pot imho. Thanks again

    • Good call. Thanks for pointing this out. I'll have to check to see if Project Honey Pot has an API for stats. I'll consider adding that if they do.

    • Version 1.0.1 is out, and I added the margin and padding of 0 to all images (and links too) that weren't already in an explicitly hidden container. Still no word on the stats API. Hopefully I can hack something together in my free time (whenever that happens).

  • Pingback: Spam protectie()

  • Anthony


    I'm getting a Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in....wp-content/plugins/project-honey-pot-spam-trap/project_honey_pot.php on line 32

    Any idea how I can correct this?

    • Sounds like you got a bad download. Try deleting and reinstalling the plugin and see if that fixes the problem.

  • Hi,

    is there a way to disable a honeypot/quicklink link to be shown in RSS feeds from the plugin options page? Cos e.g. Google Reader won't hide text hidden with CSS, but only renders the plain HTML.

    • Thanks for bringing that to my attention. I'll try to get a fix out for that soon.

      • I'm looking forward to it. Thanks!

      • Just wanted to ask whether you've already seen to the matter.

  • Redwood

    Hi Andrew,
    I'm having problems with Project Honey Pot Spam Trap 1.0.1 on my WordPress 3.3.1 website conflicting with Similar Posts 1.4.1. It removes the links to the similar posts and inserts a visible link into the similar post link and excerpt. What to do? It is deactivated right now.

  • Pingback: Wordpress 3 3 2 P 12 |

  • Pingback: PitchPaper » Launch Ideas Socially » Top 50+ WordPress Plugins 2012()

  • Carsten

    I'm using WordPress 3.4.1 with the Twentyeleven theme, and links positioned with absolute coordinates like { left: -200px; } keep appearing in the view field of readers, probably due to a conflict with
    the theme's CSS. I'm manually changing the code of the plugin now to
    increase those values. It would be nice if the CSS styling of the
    plugin's output could be set from the admin panel.

  • Pingback: Organisational things » Dharma Slut()

  • Pingback: 15 Most Important WordPress Plugins To Help You Fight Spam | Online Magazine for Designers, Artists and Photographers()