Forum Moderators: goodroi

Message Too Old, No Replies

How to exclude a few pages?

         

jack38

9:05 am on Jul 27, 2005 (gmt 0)

10+ Year Member



In folder "products" I have several pages and would like to exclude x.htm, y.htm, leaving others accessible.

Is this the correct way to specify them:

User-agent: *
Disallow: /products/x.htm
Disallow: /products/y.htm

or would this do?

User-agent: *
Disallow: x.htm
Disallow: x.htm

nickthemiragorobot

10:25 am on Jul 27, 2005 (gmt 0)

10+ Year Member



Top one dude, the second is meaningless.

If you put /x.htm you would be refusing entry to www.url.com/x.htm - a different page.