Disabling link management in a Web page

You can use a comment to keep the links builder from running on a specific file or for a subset of the links in a file.
The syntax is that of an embedded meta tag within a comment, as follows:
<!-- <META name="links-collection-enabled" content="false"> -->

By setting the content to false, no links information is collected after that point in the file. This tag can be specified later in the file with a content value of true to enable links collection for the remainder of the file. In this way, you can turn off validation and refactoring for an entire file, or you can isolate certain links to be disabled or enabled for the links builder.

For example, to turn off the links builder for an entire file, just place the meta comment at the start of the file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<!-- <META name="links-collection-enabled" content="false"> -->  
<META http-equiv="Content-Type" content="text/xml">
<META name="GENERATOR" content="IBM Rational Software Development Platform">
<TITLE>testy.html</TITLE>
</HEAD>
<BODY>


<a href="a.html"></a>

<a href="b.html"></a>

<a href="c.html"></a> 
 
</BODY>
</HTML>
None of the links in the file are validated.
If you want to validate only one link, for example, you can surround that link with a pair of meta tags:
<!-- <META name="links-collection-enabled" content="true"> --> 
<a href="b.html"></a>
<!-- <META name="links-collection-enabled" content="false"> -->
Conversely, if you want to validate all links except for one, you can turn off the links builder for only that single link:
<!-- <META name="links-collection-enabled" content="false"> --> 
<a href="c.html"></a>
<!-- <META name="links-collection-enabled" content="true"> -->
Related tasks
Disabling link management for Web projects
Managing links - overview

Feedback