Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

Example:

<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>
</select>
share|improve this question

2 Answers 2

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

 
discard

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.