![]() |
|
googleoff/googleon Tags You can use googleon/off to tell the Google Search Appliance to ignore portions of a page. Insert <!--googleoff: index--> at the point you want the Google Search Appliance to stop indexing, then insert <!--googleon: index--> where you want it to resume indexing the page. You can also use the tags to avoid indexing anchor links leading to another web page. You can use either of the following to prevent the words "chocolate pudding" from appearing in the snippets. <!--googleoff: snippet--> chocolate pudding <!--googleon: snippet--> <!--googleoff: all--> chocolate pudding <!--googleon: all--> The googleon/googleoff tags are index, anchor snippet, all. Here's how they are used. index tag A page containing: fish <!--googleoff: index--> shark <!--googleon: index--> mackerel has the terms "fish" & "mackerel" indexed for that page, but will not index "shark" for the page. It's possible, however, that the page could be a search result for the search term "shark", since "shark" may occur elsewhere on the page, or in anchortext for links to the page. anchor tag <!--googleoff: anchor--> <A href=linked_to_page.html> shark </A> <!--googleon: anchor--> will not cause the word "shark" to be associated with the page "linked_to_page.html". Otherwise, this hyperlink could cause the page "linked_to_page.html" to be a search result for the search term "shark". snippet tag <!--googleoff: snippet--> Come to the fair! <!--googleon: snippet--> all tag <!--googleoff: all--> Come to the fair! <!--googleon: all> The text surrounded by googleon/off tags will not be indexed, followed to another linked-to page, or used for a snippet.
The
content above was provided by Google. |
| Please direct questions/comments/suggestions to google-uwm@uwm.edu |