logo
search
Document Editing Problems

Fix Word Table of Contents Links Opening External Files

Maira MehtabMaira Mehtab Sep 30, 2026 869 views

Question details

User needs to stop Word Table of Contents and List of Figures links from opening external file paths or web locations instead of navigating within the local document.

How to Fix Word Table of Contents Links Opening External Files
Product
Microsoft Word
Device & OS
not provided
Scenario
Clicking on a TOC or List of Figures link in a shared or downloaded Word document.
Observed behavior
Links redirect to an external Dropbox path, a local Downloads folder of the original sender, or another user's file instead of jumping to the correct page in the current document. This behavior also persists and breaks navigation when exporting the document to a PDF.
Before you start

Ensure you have saved a copy of the document locally on your hard drive, avoiding cloud storage folders like Dropbox, Microsoft Teams, or OneDrive during the troubleshooting process to prevent synchronization conflicts.

Solution 1Recommended

Remove External Paths from Field Codes

By revealing the hidden field codes in Word, you can manually delete the incorrect external file paths that are causing the TOC to redirect outside the document.

Microsoft Word generates the Table of Contents using hidden HYPERLINK fields. When documents are shared via cloud services, these fields can sometimes capture absolute external file paths instead of relative internal document anchors.

1
Toggle field codes

Open your Word document and press Alt + F9 (Windows) or Option + F9 (Mac) to display the underlying field codes for your document's hyperlinks.

2
Locate the external paths

Scroll to your Table of Contents or List of Figures and find the exposed HYPERLINK fields. Look for external file paths pointing to a Dropbox folder, a local C: drive, or a network URL.

3
Delete the external target

Carefully delete the external file path prefix inside the quotation marks, leaving only the internal bookmark anchor (which usually starts with an underscore or HLINK).

4
Update the fields

Press Alt + F9 (or Option + F9) again to hide the field codes. Select the entire Table of Contents, right-click, and choose 'Update Field' to apply the changes.

Remove External Paths from Field Codes
PDF Exports Resolved: Fixing these underlying field codes will simultaneously resolve the issue where exported PDFs contain broken or externally-redirecting bookmarks.
Seamless Document Editing

Fix and Rebuild Table of Contents Easily with WPS Writer

Avoid messy field code errors and cloud syncing path issues by handling your document editing in WPS Writer. WPS Office provides a streamlined, highly compatible environment to edit DOCX files, manage headings, and instantly generate clean, accurate Tables of Contents that export perfectly to PDF.

  1. 1. Open the document in WPS Writer: Launch WPS Office and open the affected Word document.
  2. 2. Remove the broken TOC: Select the malfunctioning Table of Contents and delete it from the page.
  3. 3. Generate a clean TOC: Go to the 'Reference' tab, click 'Table of Contents', and select an automated style to insert a perfectly linked TOC.
Generates clean, internal TOC links automatically without absolute path errorsSeamlessly compatible with Microsoft Word DOCX and DOC formatsExports flawlessly to PDF with working internal bookmarksLightweight application that works well with both local and cloud files
QA img-9

Frequently Asked Questions

Why do my Word TOC links redirect to another user's Downloads folder?

This happens when the document was generated or saved with absolute file paths (linking directly to a specific user's hard drive) rather than relative ones. It is often caused by cloud storage syncing conflicts, such as when multiple users edit a file via Dropbox or Teams without fully downloading it first.

Does this external link issue affect exported PDFs?

Yes. If the underlying HYPERLINK fields in Word contain external paths, exporting to PDF will preserve those broken external links instead of converting them into internal PDF bookmarks. Fixing the field codes in Word will resolve the PDF export issue.

How do I view field codes in Microsoft Word to check the links?

You can toggle field codes on and off by pressing Alt + F9 on Windows or Option + F9 on a Mac. This reveals the raw code behind elements like the Table of Contents, allowing you to see and edit the exact HYPERLINK paths.