Created
September 30, 2019 10:00
-
-
Save DavaGordon/bb8738b5c5944c32c7a5b12014a65330 to your computer and use it in GitHub Desktop.
Magento 1 Robots.txt - Seo Focused
This file contains hidden or 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
# Website Sitemap | |
Sitemap: www.yoursite.co.uk/sitemap.xml | |
User-agent: Googlebot-Image | |
Disallow: / | |
Allow: /media/catalog/product/ | |
# Crawlers Setup | |
User-agent: * | |
# Directories | |
User-agent: * | |
Disallow: /ajaxlogin/ | |
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: /stats/ | |
Disallow: /wp/ | |
Disallow: /wp-caf/ | |
Disallow: /var/ | |
Disallow: /node_modules/ | |
Disallow: /css2/ | |
Disallow: /skin/frontend-2015-06-25/ | |
Disallow: /sass/ | |
Disallow: /scss/ | |
Disallow: /sass/ | |
Disallow: /grunt/ | |
# Paths (clean URLs) | |
User-agent: * | |
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/ | |
Disallow: /catalog/product/gallery/ | |
# Files | |
User-agent: * | |
Disallow: /cron.php | |
Disallow: /cron.sh | |
Disallow: /error_log | |
Disallow: /install.php | |
Disallow: /LICENSE.html | |
Disallow: /LICENSE.txt | |
Disallow: /LICENSE_AFL.txt | |
Disallow: /api.php | |
Disallow: /get.php | |
Disallow: /mage | |
Disallow: /*.CVS | |
Disallow: /*.zip$ | |
Disallow: /composer.json | |
Disallow: /composer.lock | |
# Paths (no clean URLs) | |
User-agent: * | |
Disallow: /*.js$ | |
Disallow: /*.css$ | |
Disallow: /*.php$ | |
Disallow: /*?p=*& | |
Disallow: /*?SID= | |
## No sorting. | |
Disallow: /*?dir* | |
Disallow: /*?dir=desc | |
Disallow: /*?dir=asc | |
Disallow: /*?limit=all | |
Disallow: /*?mode* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment