Forum Moderators: goodroi
www.example.com/blogs/index.php?s=keyword
Some have content because of a good match but others have no content because I have not written about these topics. I have no idea how these pages are getting indexed but I would simply like to block them from being indexed.
Can anyone please help? Will adding this work?
Disallow: /?s=*
Disallow: /*?s=
will disallow every URL that begins with your domain name, followed by any string, followed by a '?s=', followed by any string.
So the following would be disallowed:
www.example.com/page?s=a
www.example.com/page?s=b
www.example.com/page?s=a&cat=123
www.example.com/folder/page?s=a
www.example.com/folder/page?s=b
www.example.com/folder/page?s=a&cat=123
The following would NOT be disallowed
www.example.com/page?cat=123&s=abc
www.example.com/folder/page?cat=123&s=abc
NOTE: You never have to end the Disallow with a wildcard... There is an implied wildcard at the end unless the Disallow ends in '$'.
See Google's Webmaster Central help pages for help... Even Wikipedia has help on this.
[google.com...]
[edited by: ZydoSEO at 10:47 pm (utc) on Feb. 25, 2008]
Aside from the fix, it sounds like you might be experiencing a problem I've seen on a couple of sites recently [webmasterworld.com], although in those cases it extends beyond just search result pages.
Are the search results for single words that actually appear on your site somewhere?
[edited by: Receptional_Andy at 10:56 pm (utc) on Feb. 25, 2008]