PDA

View Full Version : Robots.txt help needed



s2kinteg916
09-28-2005, 04:08 PM
how do i go about blocking blocking folder 2 and link.php from having robots access this file.

/folder1/folder2/link.php?t=test

Disallow: /folder1/folder2/

will this block folder 1 in my robots file

Masetek
09-28-2005, 08:36 PM
no it wont

s2kinteg916
09-29-2005, 08:29 AM
is that the correct way to block out link.php ? from robots hitting the file ?

affiliate
09-29-2005, 04:06 PM
I don't know, But I think someone will help you later;)

Kate
09-29-2005, 07:15 PM
Yes, that will disallow all files in folder2.

Masetek
09-30-2005, 09:14 PM
is that the correct way to block out link.php ? from robots hitting the file ?

Yes. And just to make sure you can put this in as well:

Disallow: /folder1/folder2/link.php

:cool:

James
09-30-2005, 10:50 PM
"Disallow: /folder1/folder2/" will NOT block "Folder 1".

It will only block folder2 and its contents.