【发布时间】:2011-08-08 18:00:27
【问题描述】:
我有一个过滤类别 ASC 和 DESC 的下拉列表。谷歌似乎不明白这是重复的内容。如何防止 Google 不遵循下拉选择:
<select>
<select class="sort-by-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;" name="ssort">
<option onclick="window.location = "http://mysite.com/category1/sort/_post_name-pp-asc/"; return false;" selected="" value="http://mysite.com/category1/sort/_post_name-pp-asc/">Name ASC</option>
<option onclick="window.location = "http://mysite.com/category1/sort/_post_name-pp-desc/"; return false;" value="http://mysite.com/category1/sort/_post_name-pp-desc/">Name DESC</option>
</select>
【问题讨论】:
标签: select indexing drop-down-menu nofollow