osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

robots.txt Sample File

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-25-2007, 05:33 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post robots.txt Sample File

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax