Document Editing Problems

How to Make Word Table of Contents Links Open the Current Document

Natalie TaylorNatalie Taylor Nov 3, 2026 869 views

Question details

The user wants Table of Contents (TOC) entries to link internally within the same document instead of displaying external file paths or navigating to other documents.

How to Make Word Table of Contents Links Open the Current Document
Product
Word
Device & OS
not provided
Scenario
Clicking a Table of Contents entry opens an external file path or references a different document rather than navigating to the expected local chapter.
Observed behavior
Table of Contents entries display or navigate to external file paths, often caused by the presence of RD (Referenced Document) fields.
Before you start

Ensure all your chapters are consolidated into a single document before updating your Table of Contents, and verify that your chapter titles use standard heading styles.

Solution 1Recommended

Remove RD Fields and Rebuild TOC with Heading Styles

Eliminate external Referenced Document (RD) fields and generate a new Table of Contents using standard heading styles to ensure all links stay within the current document.

A Table of Contents usually generates internal links based on heading styles. If it uses RD fields, it will attempt to pull headings from external documents, resulting in file path links.

1
Reveal field codes

Press 'Alt + F9' on your keyboard to toggle the display of field codes in your document.

2
Delete RD fields

Search the document for any field codes that look like '{ RD "filename.docx" }' and delete them.

3
Apply local heading styles

Highlight your chapter titles, navigate to the Home tab, and apply standard heading styles such as 'Heading 1' or 'Heading 2'.

4
Insert a new Table of Contents

Go to the References tab, click 'Table of Contents', and select an automatic style to generate a locally linked TOC.

Remove RD Fields and Rebuild TOC with Heading Styles
Update Successful: Once generated, hold 'Ctrl' and click any TOC entry to seamlessly jump to the corresponding section in your current document.
Efficient Document Formatting

Easily Manage Table of Contents in WPS Writer

WPS Writer provides a highly intuitive way to generate, update, and navigate Tables of Contents. It automatically creates reliable local links to your headings without requiring complex field code configurations.

  1. 1. Open your document: Launch WPS Writer and open your consolidated document.
  2. 2. Format headings: Select your chapter titles and apply 'Heading 1', 'Heading 2', or 'Heading 3' from the Styles gallery on the Home tab.
  3. 3. Insert the TOC: Navigate to the References tab on the top ribbon and click 'Table of Contents'.
  4. 4. Select an automatic layout: Choose your preferred layout from the dropdown menu to instantly generate a locally-linked TOC.
One-click automatic Table of Contents generation100% compatibility with Microsoft Word DOC and DOCX formatsInteractive outline navigation pane for easy document managementFree and lightweight software for everyday document editing
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Table of Contents show a file path instead of a page number?

This typically occurs if the Table of Contents was generated using Referenced Document (RD) fields, which compile headings from external files. It can also happen if the document's hyperlink base is incorrectly pointing to an external directory.

How do I check if my document contains RD fields?

You can reveal all hidden field codes by pressing 'Alt + F9' on your keyboard. Scroll through your document and look for bracketed codes containing the letters 'RD' followed by a file name.

What is the difference between a header and a heading in Word?

A heading is a styled title within your main document text used to organize sections and build a Table of Contents. A header is the repeating margin section at the very top of every page, typically used for page numbers or document titles.