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.
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.
- Upload
EMAILProtect.php
and EMAILProtect.js
to: /wp-content/plugins/emailprotect/
- 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;