I need help in an issue,

When I right click on "inspect element" on my home page which is a magento site, I see the codings as below which includes johndoe@doamin.com. But I can not remove it and whenever I use a seo optimization tool, it says "your plain text has emails that are not hidden. it could cause spam". For seo purpose I want to remove it. The images are:



  • Or you could just ignore that "seo optimization tool" advice lol Dec 27, 2014 at 12:26

3 Answers 3


This is related to Magento's translation function. I wouldn't worry too much about it. Also read this question.

The email adress is fake. It is only displayed in a warning message if and when customers enter an invalid email address. Its purpose is to show them an example of what a valid email address would look like. Also it is not your own email address, so why worry about spam?

Like all other people who answered this question recommend: Just leave this as it is...

But if you really, really, really want to change or remove this then look at the following files:


Warning: Like @Sander says, removing or editing this might be very tricky. So only touch those files if you are exactly aware of what you are doing.


It's the default email address under system > configuration > customer section. The javascript array it's shown in is the translate array which is usef by Magento for translating certain labels.

Removing it might be tricky but you could should set a non-existing email address.

It won't have any negative influence on your seo. Im guessing the tool just reports it as a warning. So it won't affect your page rank

  • Hello Thank you for the Answer Sander, How can I set a non existing email adress or change that adress johndoe@domain.com there. The customer section is seen as below: i.imgur.com/Dun2Vkd.png
    – sani
    Dec 27, 2014 at 11:03
  • @Sani Please see my updated answer
    – MatthijsIJ
    Dec 27, 2014 at 11:43

having plain text emails is not really a problem anymore.

First: the spam detection is a lot better today.

Second: the only working alternative would be to not show email addresses at all, which is bad if people would want to contact you via email.
The reason is, every possible obfuscation strategy of emails is worthless since years, as the spam providers have found ways to resolve them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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