-
AuthorPosts
-
September 18, 2023 at 9:27 pm #1419507
Hi
Is there a possiblity to protect email address links in Enfold to prevent SPAM?
And if not, do you can recommend a plugin for this?
Thanks very much.
Best regards
MikeSeptember 19, 2023 at 5:42 am #1419528Hey Michael,
Thank you for the inquiry.
Are you referring to an email address linked to a contact form? If yes, you can use spam protection plugins like Akismet or Antispam Bee, or consider using advanced contact form plugins like Contact Form 7 or WPForms with their respective security extensions.
Best regards,
IsmaelSeptember 19, 2023 at 8:08 am #1419533Hi Ismael
No, I refer to links to email addresses somewhere on a page, in a post or in the footer like<a href="mailto: (Email address hidden if logged out) ">blabla</a>
.
Is there a way to decode this for that spam robots cannot recognize it as email?
Best regards
Mike- This reply was modified 1 year, 2 months ago by YourChoice Informatik GmbH.
September 19, 2023 at 8:48 am #1419537Hey!
You can mask the email using URL shortener like bit.ly or tinyurl, but we are not sure how effective that would be for spammers who already have your email in their list.
// https://bitly.com/
// https://tinyurl.com/appCheers!
IsmaelSeptember 19, 2023 at 8:51 am #1419538Hi Ismael
Okey, I think this would not be the solution.
You can’t recommend a plugin for this?
The idea would be that all email URLs on a website would be automatically encoded.
Best regards
MikeSeptember 19, 2023 at 8:55 am #1419540Hi!
On a quick search, we have found the following plugins in the library claiming to encode all email address automatically.
// https://wordpress.org/plugins/email-address-encoder/
// https://wordpress.org/plugins/email-encoder-bundle/You can use the following shortcode to protect or encode phone numbers.
[encode]+1 (555) 123-4567[/encode] [encode link="tel:+15551234567"]+1 (555) 123-4567[/encode]
Cheers!
IsmaelSeptember 19, 2023 at 8:57 am #1419541Hi Mike,
You can add this PHP code in your child theme’s functions.php (or if you have a plugin that would allow adding PHP code):
function obfuscate_email_shortcode($atts) { $email = isset($atts['email']) ? antispambot($atts['email']) : ''; return '<a href="mailto:' . $email . '">' . esc_html($email) . '</a>'; } add_shortcode('obfuscate_email', 'obfuscate_email_shortcode');
Then when adding your email in a textblock for example, you write it like this:
[obfuscate_email email=" (Email address hidden if logged out) "]
Hope it helps.
Best regards,
NikkoSeptember 19, 2023 at 9:05 am #1419542Hi Ismael, hi Nikko
We will try out this two possibilities.
Thanks very much.
I think you can close this issue.
Best regards
Mike -
AuthorPosts
- The topic ‘Email protection with Enfold’ is closed to new replies.