How to hide (encode) email addresses on your WordPress website from crawlers and bots
Since the Anti-Spam version 5.177, we've added a new feature. Now you can encode all email addresses on your pages. Email characters will be hidden visually and addresses will be encoded, so the automatic crawlers will not be able to grab addresses. Visitors can decode addresses by mouse click. This feature helps to prevent direct spam to your email. You can enable this option in the Data Processing section here:
WordPress Dashboard → Settings → Anti-Spam by CleanTalk → Advanced settings
The plugin will encode all email addresses on your pages.
Original view:
Encoded view:
After clicking the address will be decoded:
How to check the encryption already works
- Open your webpage in your browser Guest (Incognito) mode.
- Scroll down the page to the email address. Now you should see the email is already encrypted.
To decrypt it, just click on it. If you hover the mouse pointer over the email, you will see the “This contact was encoded by CleanTalk. Click to decode” message. It is a hint for your website visitors. Be sure to test the encryption/decryption in Guest (Incognito) mode, because if you are authorized on the site, there will be no encryption.
Since version 5.184 of the Anti-Spam plugin, each email encoding is logged in your Anti-Spam Log with the status "Decoding approved".
You can also use a shortcode or hook to encode contact data. More details can be found in the article here.
If you haven't found the answer to your question, please, contact our support team:
https://cleantalk.org/my/support/open
It would also be interesting
- How to protect a form with honeypot fieldHoneypot field option for WordPress We've added an additional feature if you want to improve your...
- Encoding Contact Data with a Shortcode and Hook for Third-Party PluginsEncoding Contact Data with a Shortcode and Hook for Third-Party Plugins This article explains how to...
- Bulk Check of IPs and EmailsHow to Check IPs and Emails in Bulk We offer a public interface to check any list of IPs...