문제

In Magento there are the generic error reports under /errors. These are currently getting indexed by Google. I tried adding the meta noindex tag to the /default/page.phtml but this did not seem to work. Perhaps I should even be touching these files. In other instances, such as with the wishlist, I updated the XML - but can't work out how to do it in this instance. Thanks in advance for any assistance.

도움이 되었습니까?

해결책

Put the following into your robots.txt in the website root:

User-agent: *
Disallow: /errors/

Also here is a more thorough version if you are interested:

http://www.byte.nl/blog/2012/06/11/magento-robots-txt/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top