Excluding Unwanted Text from the Index

There may be Web pages that you want to suppress from search results when users search on certain words or phrases. For example, if a Web page consists of the text "the user conference page will be completed as soon as Jim returns from medical leave," you might not want this page to appear in the results of a search on the terms "user conference."

You can prevent this link from being indexed using googleoff/googleon tags. By embedding googleon/googleoff tags with their flags in HTML documents, you can disable: the indexing of a word or portion of a Web page; the indexing of anchor text; the use of text to create a snippet in search results.

Flag Description Example Results
index Words between the tags are not indexed as occurring on the current page. fish <!--googleoff: index-- >shark <!--googleon: index--> mackerel The words fish and mackerel are indexed for this page, but the occurrence of shark is not indexed. This page could appear in search results for the term shark only if the word appears elsewhere on the page or in anchortext for links to the page. Hyperlinks that appear within these tags are followed.
anchor Anchor text that appears between the tags and in links to other pages is not indexed. This prevents the index from using the hyperlink to associate the link text with the target page in search results. <!--googleoff: anchor--><A href=sharks_rugby.html> shark </A> <!--googleon: anchor--> The word shark is not associated with the page sharks_rugby.html. Otherwise this hyperlink would cause the page sharks_rugby.html to appear in the search results for the term shark.
snippet Text between the tags is not used to create snippets for search results. <!--googleoff: snippet-->Come to the fair!<!--googleon: snippet--> The text Come to the fair! does not appear in snippets with the search results.
all Turns on all the attributes. Text between the tags is not indexed, followed to another linked-to page, or used for a snippet. <!--googleoff: all-->Come to the fair!<!--googleon: all--> The text Come to the fair! is not indexed, is not associated with anchor text, and does not appear in snippets with the search results.

If a URL appears within googleoff and googleon tags, the search appliance crawls the URL.

It takes time for GSA to re-crawl web pages. So that the changes may take effect in a while. The ut-help website uses this utility to exclude navigation bar from searching results. Try the search box in Home page to verify.