Hiding part of a page from Search Server 2010 Express

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-06-15T15:59:24Z Indexed on 2010/06/15 16:02 UTC
Read the original article Hit count: 166

Filed under:
|
|

I'm working on a soon-to-be-public-facing site, and we want to have our search live on day 1, and want it to be searchable but non-public during testing, so we're planning to use something whose crawling we can control -- Search Server 2010 Express.

However, if I search for something in my top navigation bar, I get nearly every page as a hit. It kinda makes sense, as every page has that content, but it's completely irrelevant on most pages. I want it to crawl through my navigation, but ignore the text within the navigation for search results. I was hoping that it'd just figure that out on it's own (the HTML for the top nav is static), but it's apparently not.

Is there some standard thing I can put in my HTML that will achieve the effect I'm going for?

On a side note: when I go live, will I have the same problem with public search engines, or do they tend to be smarter?

© Stack Overflow or respective owner

Related posts about search

Related posts about seo