WordPress – How to hide or obfuscate your email address from spambots
Last Update: 15 March 2019
Tested: WordPress 5.1.1
All too often, I visit websites and email address are displayed in full using HTML.
I consider this as sloppy coding! Now the client has to deal with an enormous amount of spam arriving in their inbox.
Initially, you can reduce unsolicited email spam by hiding or obfuscate all email addresses on a website before you go live.
In this way, spambots and list builders can’t harvest the email address.
There are multiple ways you can “disguise” an email address.
- CSS pseudo-classes
- CSS reverse character sequence
- Including HTML comments
- Converting to HTML character codes
- Adding “remove” elements.
No matter which way you approach these methods the outcome is the same. Either spambots have worked out how to decipher the email address or, the active hyperlink is lost, requiring the user to copy paste or edit the email address – resulting in decreased usability.
Check the venerability of your obfuscated email address – Try this FREE online tool.