This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

EMAILProtect

Description

EMAILProtect hides a normal e-mail string (e.g. “info@domain.com”) by editing the HTML code.
This does not effect the outcome as the normal user sees it, but it make’s it impossible for
web crawlers to locate the e-mail address.

Most crawlers these days are “non-javascript crawlers” (to speed up the crawling process)
which means that almost no crawlers can see the re-written e-mail addresses – even though
it looks just the same for the regular user.

If you look in the source code of you WordPress page, with this plugin activated, you will see
a JavaScript (e.g. <script type='text/javascript'>plug_emp('3;4;1;6#cominfo1domain');</script>)
where it’s supposed to be an e-mail address.

Installation

The plugin works by it self. The files (‘EMAILProtect.php’ and ‘EMAILProtect.js’) should be
placed within the folder emailprotect – this is essential for the PHP-file to locate the
JavaScript file.

  1. Upload EMAILProtect.php and EMAILProtect.js to: /wp-content/plugins/emailprotect/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

By version 1.5 you’re able to decide if you want to re-write all e-mail addresses or just the
once surrounded already set to be a clickable link. You do this by changing row 33 EMAILProtect.php
to: $allClickable = 0;

Contributors & Developers

“EMAILProtect” is open source software. The following people have contributed to this plugin.

Contributors

Translate “EMAILProtect” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5.8

  • Added support for second level domains (SLD) with a dot (e.g sub.domain.com)
  • Better support of “mailto:” links
  • Minor bug fix

1.5.7

  • Works with all surrounding HTML-tags
  • Change “mailto:” links
  • More cryptic changing method

1.5.3

  • Minor bug fix

1.5.2

  • The problem with more than one e-mail address on one row is solved
  • The HTML-tag BR is added as a accepted surrounding tag.

1.5

  • E-mail addresses surrounded by a link will be correctly rewritten.
  • More accepted surrounding tags
  • Possibility not to rewrite every tag is made
  • Simple bugfix

1.4

  • First stable version