Fix Word Table of Figures Links Pointing to External File Paths
Question details
The Table of Figures is generating hyperlinks that attempt to open the document's local file path rather than jumping to internal captions.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Generating or updating a Table of Figures to enable fast navigation to images and charts within a document.
- Observed behavior
- Clicking a link in the Table of Figures opens a security warning or attempts to open the local file path instead of scrolling to the corresponding figure.
Press Alt+F9 (Windows) or Option+F9 (Mac) to toggle field codes and reveal how your Table of Figures is currently referencing your document paths.
Recreate the Table of Figures with Proper Hyperlink Settings
Replacing the current table ensures that the internal linking options are correctly applied from scratch, overriding any corrupted field codes.
Often, incorrect links occur because the hyperlink option was accidentally unchecked during insertion, or the underlying caption styles were manually altered instead of using Word's automated referencing tools.
Highlight your existing Table of Figures and press the Delete key to remove it entirely.
Scroll through your document and ensure your image titles are formatted using Word's built-in 'Caption' style, generated via the 'Insert Caption' tool.
Navigate to the 'References' tab on the ribbon and click on 'Insert Table of Figures'.
In the dialog box, ensure the 'Use hyperlinks instead of page numbers' checkbox is ticked, then click OK to generate the new table.

Clear the Document's Hyperlink Base
Use this solution if recreating the table fails, as a defined hyperlink base can force all relative links to resolve as absolute external file paths.
Create and Manage Table of Figures Easily with WPS Office
WPS Writer provides an intuitive and reliable way to insert captions and generate tables of figures without the hassle of broken file path links. The referencing features work smoothly out of the box, ensuring seamless navigation.
- 1. Open your document: Launch WPS Writer and open your existing document containing the figure captions.
- 2. Navigate to References: Click on the 'References' tab located on the top ribbon.
- 3. Insert Table of Figures: Click 'Insert Table of Figures' and make sure the 'Use hyperlinks' option is checked.
- 4. Generate the table: Click 'OK' to instantly generate a perfectly linked table that navigates within the document.

Frequently Asked Questions
Why does my Table of Figures show code like {TOC \h} instead of text?
You have field codes toggled on. You can switch back to the normal text view by pressing Alt+F9 on Windows or Option+F9 on Mac.
Can I link to a figure without showing page numbers in the table?
Yes. When inserting the Table of Figures from the References tab, simply uncheck the 'Show page numbers' box while keeping the 'Use hyperlinks instead of page numbers' option checked.
Why are my newly added captions not showing up in the Table of Figures?
The Table of Figures does not update automatically as you type. Right-click anywhere on the existing table, select 'Update Field', and choose 'Update entire table' to pull in any new captions.
How do I ensure Word recognizes my text as a figure caption?
Captions must be formatted using the default 'Caption' style. If you manually typed 'Figure 1' without using the 'Insert Caption' tool under the References tab, the Table of Figures will not be able to track it.




