Last active
August 29, 2015 14:05
-
-
Save tiagones/f8174c5f3266364a510e to your computer and use it in GitHub Desktop.
Robots.txt Magento Boilerplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Google Image Crawler Setup | |
User-agent: Googlebot-Image | |
Disallow: / | |
Allow: /media/catalog/product/ | |
# Yahoo! Multimedia Crawler Setup | |
User-agent: yahoo-mmcrawler | |
Disallow: / | |
Allow: /media/catalog/product/ | |
# MSN Search engine Media Crawler Setup | |
User-agent: psbot | |
Disallow: / | |
Allow: /media/catalog/product/ | |
# Crawlers Setup | |
User-agent: * | |
# Directories | |
Disallow: /404/ | |
Disallow: /app/ | |
Disallow: /cgi-bin/ | |
Disallow: /downloader/ | |
Disallow: /errors/ | |
Disallow: /includes/ | |
Disallow: /js/ | |
Disallow: /lib/ | |
Disallow: /magento/ | |
Disallow: /media/ | |
Disallow: /pkginfo/ | |
Disallow: /report/ | |
Disallow: /scripts/ | |
Disallow: /shell/ | |
Disallow: /skin/ | |
Disallow: /stats/ | |
Disallow: /var/ | |
# Paths (clean URLs) | |
Disallow: /index.php/ | |
Disallow: /catalog/product_compare/ | |
Disallow: /catalog/category/view/ | |
Disallow: /catalog/product/view/ | |
Disallow: /catalogsearch/ | |
Disallow: /checkout/ | |
Disallow: /control/ | |
Disallow: /contacts/ | |
Disallow: /customer/ | |
Disallow: /customize/ | |
Disallow: /newsletter/ | |
Disallow: /poll/ | |
# Disallow: /review/ | |
Disallow: /sendfriend/ | |
Disallow: /tag/ | |
Disallow: /wishlist/ | |
Dissalow: /catalog/product/gallery/ | |
# Files | |
Allow: /robots.txt | |
Allow: /sitemap.xml | |
Disallow: /cron.php | |
Disallow: /cron.sh | |
Disallow: /error_log | |
Disallow: /install.php | |
Disallow: /LICENSE.html | |
Disallow: /LICENSE.txt | |
Disallow: /LICENSE_AFL.txt | |
Disallow: /STATUS.txt | |
# Paths (no clean URLs) | |
# Disallow: /*.js$ | |
# Disallow: /*.css$ | |
Disallow: /*.php$ | |
Allow: /*?p= | |
Disallow: /*?p=*& | |
Disallow: /*?SID= | |
# Website Sitemap | |
Sitemap: http://www.nome_do_site.com.br/sitemap.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: http://inchoo.net/ecommerce/ultimate-magento-robots-txt-file-examples/