## robots.txt for Magento Community and Enterprise ## GENERAL SETTINGS ## Enable robots.txt rules for all crawlers User-agent: * ## Crawl-delay parameter: number of seconds to wait between successive requests to the same server. ## Set a custom crawl rate if you're experiencing traffic problems with your server. Crawl-delay: 20 ## Magento sitemap: uncomment and replace the URL to your Magento sitemap file # Sitemap: http://www.example.com/sitemap/sitemap.xml ## SERVER SETTINGS ## Do not crawl common server technical folders and files #Disallow: /cgi-bin/ Disallow: /cleanup.php #Disallow: /apc.php #Disallow: /memcache.php Disallow: /phpinfo.php ## DEVELOPMENT RELATED SETTINGS ## Do not crawl development files and folders: CVS, svn directories and dump files Disallow: /CVS Disallow: /*.svn$ Disallow: /*.idea$ Disallow: /*.sql$ Disallow: /*.tgz$ ## Do not crawl common Magento files Disallow: /api.php Disallow: /cron.php Disallow: /cron.sh Disallow: /error_log #Disallow: /get.php Disallow: /install.php Disallow: /LICENSE.html Disallow: /LICENSE.txt Disallow: /LICENSE_AFL.txt Disallow: /README.txt Disallow: /RELEASE_NOTES.txt Disallow: /STATUS.txt ## Do not crawl common Magento technical folders ## Disallow: /404/ Disallow: /admin/ #Disallow: /app/ Disallow: /cgi-bin/ Disallow: /downloader/ Disallow: /errors/ ## Disallow: /includes/ ## Disallow: /lib/ Disallow: /pkginfo/ Disallow: /shell/ ## Disallow: /var/ ## MAGENTO SEO IMPROVEMENTS ## Do not crawl checkout and user account pages, seach pages and not-SEO optimized catalog links Disallow: /customer/ Disallow: /customer/account/ Disallow: /customer/account/login/ Disallow: /catalog/product_compare/ Disallow: /catalog/category/view/ #Disallow: /catalog/product/view/ #Disallow: /catalogsearch/ Disallow: /contacts/ #Disallow: /customize/ #Disallow: /poll/ Disallow: /review/ #Disallow: /sendfriend/ #Disallow: /wishlist/ Disallow: /jreview/index/ ## Do not crawl sub category pages that are sorted or filtered. Disallow: /*?dir* Disallow: /*?dir=desc Disallow: /*?dir=asc Disallow: /*?limit=all Disallow: /*?mode* Disallow: /*?price ## Do not crawl 2-nd home page copy (example.com/index.php/). Uncomment it only if you activated Magento SEO URLs. Disallow: /index.php/ ## Do not crawl links with session IDs, ... Disallow: /*?SID= ## Disallow: /*.js$ ## Disallow: /*.css$ ## Disallow: /*.php$ ## Disallow: /*?p=*& ## Magento 2 Disallow: /lib/ Disallow: /*.php$ Disallow: /pkginfo/ Disallow: /report/ Disallow: /var/ Disallow: /catalog/ Disallow: /customer/ Disallow: /sendfriend/ Disallow: /review/ Disallow: /*SID= ## Disallow: /*? 26-10-2020 # Disable checkout & customer account Disallow: /checkout/ Disallow: /onestepcheckout/ Disallow: /customer/ Disallow: /customer/account/ Disallow: /customer/account/login/ # Disable Search pages Disallow: /catalogsearch/ Disallow: /catalog/product_compare/ Disallow: /catalog/category/view/ Disallow: /catalog/product/view/ # Disable common folders Disallow: /app/ Disallow: /bin/ Disallow: /dev/ Disallow: /lib/ Disallow: /phpserver/ Disallow: /pub/ allow: /pub/media/ allow: /pub/static/ # Disable Tag & Review (Avoid duplicate content) Disallow: /tag/ Disallow: /review/ # Common files Disallow: /composer.json Disallow: /composer.lock Disallow: /CONTRIBUTING.md Disallow: /CONTRIBUTOR_LICENSE_AGREEMENT.html Disallow: /COPYING.txt Disallow: /Gruntfile.js Disallow: /LICENSE.txt Disallow: /LICENSE_AFL.txt Disallow: /nginx.conf.sample Disallow: /package.json Disallow: /php.ini.sample Disallow: /RELEASE_NOTES.txt # Disable sorting (Avoid duplicate content) Disallow: /*?*product_list_mode= Disallow: /*?*product_list_order= Disallow: /*?*product_list_limit= Disallow: /*?*product_list_dir= # Disable version control folders and others Disallow: /*.git Disallow: /*.CVS Disallow: /*.Zip$ Disallow: /*.Svn$ Disallow: /*.Idea$ Disallow: /*.Sql$ Disallow: /*.Tgz$