Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm getting a 404 crawl error for mailto:info@mydoamin.co.uk, in Google webmaster tools under the health > crawl errors.

Surly Google should see that mailto: is related to an email not a webpage..

The HTML I'm using for the mailto on my page is <a href="mailto:mailto:info@mydoamin.co.uk">info@mydoamin.co.uk</a>

What's the best way to resolve this? Is mailto still widely used or is there a newer alternative ?

share|improve this question

1 Answer 1

You have two mailto: strings in that href.

Google may well be using a regex that doesn't match a colon after the first one before the @. I don't know what Google are doing, but whatever they are doing it's not working with that href. Normal clients may have troubles with it as well.

share|improve this answer
    
I suggest to use <a href="mailto:info@example.com">info@example.com</a>. mailto:info@example.com is not a valid e-mail address, mailto: is the protocol part. –  Lekensteyn Jun 28 '12 at 12:18
    
sorry ive just looked at the actual site and its writen the way you've advised. the example about i changed it to hide the site and forgot to remove the second mailto part.. but i the actual live version where im getting the error it is as you've written. ill edit the question to make clear –  sam Jun 28 '12 at 12:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.