Detect Spider


Mike Stecker

3rd Party (Free)

268 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Lightweight PHP plugin for EE2 that detects a search engine crawlers using PHP. Useful for when using modals on pages and you want search engines to index a different URL for these links instead.

This is my first time writing any any sort of plugin for EE. I’m not a very strong PHP guy so go easy on me :-) Please post any suggestions, changes, bugs, requests, etc to GitHub issues.


Download and unzip the archive. Create a folder called detect_spider, place the file pi.detect_spider.php inside the folder and upload the detect_spider folder to /system/expressionengine/third_party/.

Basic Usage

Check if any crawlers

{exp:detect_spider} - returns true or false

Conditional check for a crawler

{if ‘{exp:detect_spider}’}
  I am a search crawler
  I am a normal visitor

Download Detect Spider

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Sep 26, 2013

Detect Spider Links

This entry was created September 27, 2013, 8:08 am.
This entry was last updated September 27, 2013, 9:28 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!