abduraooft
10-10-2009, 11:40 AM
Hi all,
I've a search page with a url like http://mysite.com/search/ to search a set of profiles, created dynamically.
I use the same page to display the search results and have pagination in it. So, when someone hit the submit button displayed in this search page ( without opting anything), he'll reach http://mysite.com/search/page/1/?from=0&to=0 . (and he can use the pagination links to get the other pages too)
I've also given a "browse link" in the footer, which randomly show different links like
http://mysite.com/search/page/10/?from=0&to=0
http://mysite.com/search/page/20/?from=0&to=0 etc. (where from and to corresponds to drop-downs for selecting the age ranges)
Each of this search page has links to various profile pages like
http://mysite.com/profile/1234
http://mysite.com/profile/2143 etc.
My question is, how can I direct search engines to crawl all these search/browse pages, without indexing them. I only need indexes for the profile pages. (Blocking the search page by "Disallow" and giving a sitemap is not as effective as allowing all the search pages)
I believe, I can use a meta like <meta name="robots" content="noindex"/>, but would that be effective? Or is there anyway to make a rule in robots.txt file to achieve the goal?
I've a search page with a url like http://mysite.com/search/ to search a set of profiles, created dynamically.
I use the same page to display the search results and have pagination in it. So, when someone hit the submit button displayed in this search page ( without opting anything), he'll reach http://mysite.com/search/page/1/?from=0&to=0 . (and he can use the pagination links to get the other pages too)
I've also given a "browse link" in the footer, which randomly show different links like
http://mysite.com/search/page/10/?from=0&to=0
http://mysite.com/search/page/20/?from=0&to=0 etc. (where from and to corresponds to drop-downs for selecting the age ranges)
Each of this search page has links to various profile pages like
http://mysite.com/profile/1234
http://mysite.com/profile/2143 etc.
My question is, how can I direct search engines to crawl all these search/browse pages, without indexing them. I only need indexes for the profile pages. (Blocking the search page by "Disallow" and giving a sitemap is not as effective as allowing all the search pages)
I believe, I can use a meta like <meta name="robots" content="noindex"/>, but would that be effective? Or is there anyway to make a rule in robots.txt file to achieve the goal?