1

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>
3

What about using a canonical URL to prevent duplicate content?

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

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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