# 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/catalog/index.php <- Use if this brings up your OSC main page #Disallow: * Disallow:/.smileys #Disallow:/cgi-bin Disallow:/clipart Disallow:/default Disallow:/images Disallow:/kgmcvs Disallow:/kgmdev Disallow:/navigation_bars Disallow:/sitebuilder Disallow:/specs Disallow:/ssl Disallow:/temphome Disallow:/tmp Disallow:/error_log Disallow:/.htacess Disallow: /catalog/admin Disallow:/catalog/admin/admintree #Disallow:/catalog/company_info Disallow:/catalog/download Disallow:/catalog/ext #Disallow:/catalog/images Disallow:/catalog/include Disallow:/catalog/inst Disallow:/catalog/log Disallow:/catalog/pub Disallow:/catalog/templates ########## Disallow: /*.php Disallow: /*.sql Disallow: /catalog/account.php Disallow: /catalog/advanced_search.php Disallow: /catalog/advanced_search_result.php Disallow: /catalog/checkout_shipping.php # These may not be needed Disallow: /catalog/checkout_confirmation.php Disallow:/catalog/checkout_payment.php Disallow: /catalog/create_account.php Disallow: /catalog/login.php Disallow: /catalog/login.php Disallow: /catalog/password_forgotten.php Disallow: /catalog/popup_image.php Disallow: /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: /private # Disallow: /hidden