# Converting link structure

The link conversion utility allows you to convert the path structure of all of the links in a selected resource.

For example, suppose you want to change your relative links in an HTML file so that the links are relative to the document root. By choosing the Document root relative conversion option, links that were relative to the current directory, for example:

<a href="c-dataimpt.html">Data Imports</a>

would be changed so that they were relative to the document root, which in this example is the project directory:

<a href="/my_dynamic_project/guide/c-dataimpt.html">Data Imports</a>

To convert your the link structure, complete the following steps:.

1. Right-click a resource (a project, folder, or file) from the Project Navigator view.
2. Select Link Utilities > Convert Links; the Convert Links dialog opens.
3. Select one of the radio buttons to choose a link structure: Document relative or Document root relative.
4. Click Convert

All of the links in the selected resource will be updated to reflect the chosen path structure.

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.