The Contact Us page looks similar with the same navigation.
<title>Super Neat Home Page</title>
Welcome to our awesome site. We are the best! <a href="test.html">Awesome Stuff</a>
If you need to get a hold of us, click <a href="contactus.html">here</a>. Worried,
we'll <a href="privacy.html">sell you out?</a>
Since I learned about this in the context of FAST Search for SharePoint, I decided to look at it first. The first thing I will do is show you the results of the entire content source. That way you will believe me that all of the pages are in the index. :) I do this with the ContentSource keyword as I have mentioned in my handy keywords post.
The search results shows the four pages from site. Now let’s verify that the noindex class worked. Searching for the word contact yields a single result.
The noindex class works great with FAST Search for SharePoint. At this point though, I wondered would this also work with Enterprise Search in SharePoint 2010? I decided to give it a try and sure enough it works there too.
Will this also work in SharePoint 2007? I haven’t had time to try it yet. If you have tried it before, please leave a comment and let us know. Maybe you already knew about this technique, but I think there are plenty of people who don’t so I hope this post helps. I highly recommend making use of the noindex attribute any time you want to index a non-SharePoint site, such as your public-facing company web site. By excluding redundant sections of the page, you make your search results much more usable.