Forum Moderators: goodroi

Message Too Old, No Replies

robots -how to disallow search results

         

zuses

8:20 am on Mar 23, 2006 (gmt 0)

10+ Year Member



I need to disallow indexing search results in my gallery (because of duplicate content). Links look like /bla-bla//thumbnails.php?album=search&search=keyword. Can I use this:
Disallow: /search&search=
Thank u for help

Dijkgraaf

10:17 am on Mar 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The disallow has to have the URI from the begining, as it matches from there. So from your example you would have to have
Disallow: /bla-bla//thumbnails.php?album=search

The exaple you gave of
Disallow: /search&search=
Would not work, as that doesn't match the start URI of what you are trying to disallow.

zuses

10:24 am on Mar 23, 2006 (gmt 0)

10+ Year Member



thanks a lot:) Are u sure this way my thumbnails.php?album will still be indexing?

Dijkgraaf

10:28 am on Mar 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, if you
disallow: /bla-bla//thumbnails.php?album=search

a request for
GET /bla-bla//thumbnails.php?album=somethingelse
would still be allowed, as it wouldn't match the disallow.

zuses

10:53 am on Mar 23, 2006 (gmt 0)

10+ Year Member



U r my hero:)