Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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
    Mike

    #1419528

    Hey 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,
    Ismael

    #1419533

    Hi 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

    #1419537

    Hey!

    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/app

    Cheers!
    Ismael

    #1419538

    Hi 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
    Mike

    #1419540

    Hi!

    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!
    Ismael

    #1419541

    Hi 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,
    Nikko

    #1419542

    Hi Ismael, hi Nikko
    We will try out this two possibilities.
    Thanks very much.
    I think you can close this issue.
    Best regards
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Email protection with Enfold’ is closed to new replies.