Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a select input on a search results page and each option's value is a URL to sort the search results. There's an onchange event on the select to refresh the page with the sort option. Google webmaster tools is showing that I have duplicate meta content because it's following the sort URL's. Is there a way to put a nofollow on those URL's, or does any one have any ideas on how to mask them from search bots?


<select onchange="javascript:document.location = this.options[this.selectedIndex].value">
<option value="/All/All/Category/Length/feet/USD/1/boat_search.aspxltid=0&amp;sort=length_high" >Length: High to Low</option>
share|improve this question
up vote 3 down vote accepted

What about using a canonical URL to prevent duplicate content?

share|improve this answer
+1 How can i not upvote an answer i obviously think is correct? – John Conde Dec 20 '11 at 17:15

Don't hide them. Just use canonical URLs on them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.