# Sample robots.txt file (make sure the filename is ALL LOWERCASE on Linux/Unix systems) # This file should go in your web site's ROOT directory # The root directory is where your site's main /index.html file would be found # It is usually found in /yourhomedir/public_html/ or /yourhomedir/httpdocs # Where "yourhomedir" is your user account's name # # We invite you to also check out our popular contribution: Simple Template System (STS) # It lets you layout or change your OSC look-and-feel by modifying a single HTML file # http: //www.oscommerce.com/community/contributions,1524 or SimpleTemplateSystem.com # Enjoy! - Brian Gallagher @ DiamondSea.com # This says to apply these settings to ALL search engine spiders/crawlers User-agent: * # These settings will keep spiders from indexing your unwanted pages # This assumes that your OSC install is in your web site's ROOT directory # ie: http: //www.yoursite.com/index.php <- Use if this brings up your OSC main page Disallow: /shop/admin Disallow: /shop/account.php Disallow: /shop/advanced_search.php Disallow: /shop/checkout_shipping.php Disallow: /shop/create_account.php Disallow: /shop/login.php Disallow: /shop/login.php Disallow: /shop/password_forgotten.php Disallow: /shop/popup_image.php Disallow: /shop/shopping_cart.php # These settings will keep spiders from indexing your unwanted pages # This assumes that your OSC install is in your web site's ROOT directory # ie: http: //www.yoursite.com/catalog/index.php <- Use if this brings up your OSC main page Disallow: /shop/catalog/admin Disallow: /shop/catalog/account.php Disallow: /shop/catalog/advanced_search.php Disallow: /shop/catalog/checkout_shipping.php Disallow: /shop/catalog/create_account.php Disallow: /shop/catalog/login.php Disallow: /shop/catalog/login.php Disallow: /shop/catalog/password_forgotten.php Disallow: /shop/catalog/popup_image.php Disallow: /shop/catalog/shopping_cart.php # Feel free to add any other pages on your site that you don't want to be indexed by # the search engines. # PLEASE NOTE: Any pages that you list here should be secured by other means if you # don't want people to be able to view them, as some malicious users will look at a # robots.txt file to try to find "hidden" or "secret" areas of web sites to find # confidential information. # Just Uncomment a line or add new ones as you see fit. # Disallow: /shop/private # Disallow: /shop/hidden # IF YOU DO NOT WISH TO HAVE THE GOOGLE IMAGE BOT SCAN YOUR DOMAIN FOR IMAGES # THEN YOU CAN INCLUDE THE FOLLOWING IN YOUR ROBOTS FILE. # I FOUND THAT MY BANDWIDTH USAGE DROPPED BY A MASSIVE AMOUNT AFTER I GOT RID # OF THE GOOGLE IMAGE BOT. ALL I HAD WAS IMAGE HUNTERS STEALING PRODUCT SHOTS # AND NOT EVEN BROWSING THE SITE. User-agent: Googlebot-Image Disallow: /shop/