This is a discussion on robots.txt Sample File within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; A robots.txt file can tip a hacker off to files that they might find interesting and would otherwise not know ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| A robots.txt file can tip a hacker off to files that they might find interesting and would otherwise not know about. It is much safer to edit the PHP files themselves to include a robots meta tag instead. Use your HTML editor to search all files in your osCommerce install in source mode for "" (quotes just delimit what you are looking for and should not be included in the actual search). Immediately under this tag add one of the following two tags: If the file in question is located in the admin directory it should not get indexed at all so you will want to add the meta tag to prevent any robot access to the file as follows: For files in your main catalog that you don't want indexed you will still want the robot to continue indexing the remainder of the site so you would use: More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robots appear to be filling shopping cart? | countingsheep | osCommerce 2.2 Modification Help | 0 | 09-05-2006 11:25 AM |
| I need a sample database | newtothis | osCMax v2 Features Discussion | 2 | 07-05-2005 06:32 AM |
| Sample Catalog Data for MS2-MAX 1.7 | ddecjc | osCMax v1.7 Installation | 4 | 09-29-2004 02:05 AM |
| robots.txt | auntie22 | osCMax v1.7 Discussion | 1 | 07-22-2004 06:05 AM |
| Does 2.2 come with a sample database ? | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-18-2002 05:44 PM |