Skipping sections of a page

Top  Previous  Next

Sometimes there are situations where you would want to stop a section of a page from being indexed. This may be common headers, footers, or navigation menus which appear on every page of your site. This can be accomplished by enclosing the unwanted section of the HTML document within the following tags: <!--ZOOMSTOP--> and <!--ZOOMRESTART-->. Note that this tag must be used as it is, in upper case, with no space characters within the tags. For example,

<p>This text will be indexed</p>

<!--ZOOMSTOP-->

<p>This section is skipped</p>

<p>and no indexing will occur</p>

<!--ZOOMRESTART-->

<p>Indexing starts again here</p>

lightbulb

Note: A <!--ZOOMSTOP--> tag must be followed by a <!--ZOOMRESTART--> tag somewhere later in the page for it to take effect. You also cannot have nested ZOOMSTOP tags. Zoom will simply skip starting from the ZOOMSTOP tag found, up to the first occurrence of ZOOMRESTART.

This is often used to exclude navigation bars and menus. Note however, that the hypertext links within a ZOOMSTOP and ZOOMRESTART section would still be followed in Spider indexing mode.

If you would like to stop the spider from following links, you can use the <!--ZOOMSTOPFOLLOW--> and <!--ZOOMRESTARTFOLLOW--> tags. Links within these tags would not be followed, but when used alone, the text would still be indexed.

If you wish to skip a section of a page from being indexed AND from having its links followed, you should use both tags to enclose a section. For example:

<p>This text will be indexed</p>

<!--ZOOMSTOP-->

<!--ZOOMSTOPFOLLOW-->

<p>This section is skipped and <a href=”test.html”>this link will not be followed</a></p>

<!--ZOOMRESTARTFOLLOW-->

<!--ZOOMRESTART-->

<p>Indexing starts again here</p>

 

Note that when you are using the two tags combined, you must specify the ZOOMSTOPFOLLOW tag within the ZOOMSTOP block, as shown in the above example. A ZOOMSTOP tag within a ZOOMSTOPFOLLOW block will be ignored.