Methods for preventing search engines from indexing irrelevant content on a page
问题 I'm looking for ways to prevent indexing of parts of a page. Specifically, comments on a page, since they weigh up entries a lot based on what users have written. This makes a Google search on the page return lots of irrelevant pages. Here are the options I'm considering so far: 1) Load comments using JavaScript to prevent search engines from seeing them. 2) Use user agent sniffing to simply not output comments for crawlers. 3) Use search engine-specific markup to hide parts of the page. This