Bluehost Web Hosting Help

Hiding email address from harvester bots, spiders, etc.

Summary

If you believe that your email address has been harvested (taken off your site and sold to spammers). You can hide your email address, but still have people email you?

Hiding your email address

You will need to add this code into your page where you have your email listed. This will require a little bit of Javascript but it is easy. Here is the code that you will need to paste into your code and then modify.

            <script language="javascript">
            function m_sfcon (u) {
                pre = "mail";
                url = pre + "to:" + u;
                document.location.href = url + "@your-domain-name.com";
            }
            </script>
            
            <a href="javascript:m_sfcon('YOUR-EMAIL-PREFIX-GOES-HERE')">Email Me</a>
            
If your email is bob@example.com, you would change the "your-domain-name.com" to "example.com" and "YOUR-EMAIL-PREFIX-GOES-HERE" would be changed to bob.

Knowledgebase Article 258,705 views bookmark tags: address bots email hiding porn spam spammers spiders


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Eliminate Spam

Getting spammed? What does Bluehost recommend?

Spam Prevention

Explanation of how spam works and common prevention tips

Spam Hammer

How does Spam Hammer work?

Related Help Content

Getting Started with Email Marketing

Most people use email every day, if not multiple times a day; so it’s safe to say that email marketing is good for business. In fact, a recent study showed that email marketing is almost 40 times more effective in new customer acquisition than Facebook and Twitter combined!

Spam

SPAM is a brand of canned mystery meat made by Hormel Foods Corporation. It was first introduced in...oh wait, different kind of spam—but still related to email spam because they share similar characteristics, like nobody wants it or ever asks for it. Email spam is electronic junk mail or more gen

Accessing your Spam Folder

General Instructions on how to use the spam folder with webmail

Email Deliverability Problems

If you find some of your emails end up your recipients Spam folder, arrive late, or sometimes don't arrive at all, this article can help you improve the deliverability of the messages you are sending.

Spam Assassin

Explanation of what SpamAssassin is and how it works

How to Delete a Mass Amount in an Email Account

There are a large number of emails or spam that need to be deleted from an email account.

SpamExperts

Oh spam, sometimes it seems like we'll never get rid of you.

Restoring Email Messages using the Site Backup Pro

How to restore Email Messages the Site Backup Pro tool