Other PDF Issues

How to Make PDF Links Work After Moving Files

Phi Hung VoPhi Hung Vo Nov 3, 2026 868 views

Question details

The user needs to ensure that hyperlinks within a PDF document remain functional and point to the correct destination after the files are moved to a different folder or operating system.

How to Fix Broken PDF Links After Moving Files
Product
PDF
Device & OS
not provided
Scenario
Transferring a library of linked PDF files to a new directory or migrating them between Windows and macOS environments.
Observed behavior
PDF hyperlinks break and fail to open the target files because they rely on absolute file paths that are no longer valid in the new location.
Before you start

Gather all your linked PDF files into a single master folder before creating or fixing your links to ensure the relative paths can remain intact during any future transfers.

Solution 1Recommended

Use Relative Links and Preserve Folder Hierarchy

Using relative paths instead of absolute paths ensures your links survive when the parent folder is moved to a new drive or operating system.

Absolute links use a complete file path (e.g., C:\Documents\file.pdf), which immediately breaks if the drive letter or user profile changes. Relative links only look for the target file in relation to the current document's location.

By keeping all linked files inside the same folder structure, you can move the entire folder without breaking the connections between the documents.

1
Structure your files

Place the main PDF document and all target PDFs you intend to link to inside the same main folder or a dedicated subfolder.

2
Create links relatively

When adding a hyperlink in your PDF editor, select the target file by browsing within the same directory, ensuring the software does not record the full drive path.

3
Move the entire folder

When transferring your files to macOS or another PC, copy the entire master folder so the internal file structure remains completely identical.

4
Test the links

Open the main PDF on the destination computer and click the embedded links to verify they successfully open the correct destination files.

Use Relative Links and Preserve Folder Hierarchy
OS Path Compatibility: Windows uses backslashes (\) while macOS uses forward slashes (/) for file paths. Modern PDF readers handle relative links automatically across OS boundaries as long as the folder hierarchy is unchanged.
All-in-One PDF Editor

Edit and Fix PDF Links Easily with WPS Office

WPS Office includes a robust, built-in PDF editor that allows you to easily insert, edit, and manage hyperlinks. You can quickly update broken links to ensure your documents function perfectly anywhere, without needing expensive third-party software.

  1. 1. Open your PDF: Launch WPS Office and open the PDF file containing the links you need to manage.
  2. 2. Access the Link tool: Go to the Edit tab on the top ribbon and click on the 'Link' or 'Add Link' button.
  3. 3. Modify the hyperlink: Draw a box over the text to create a new link, or double-click an existing link to open its settings.
  4. 4. Set the target file: Choose the option to open a file, browse to select the linked document, and confirm the action.
  5. 5. Save the document: Click Save to preserve your updated relative links for future use.
Easily add, edit, or remove PDF hyperlinks in secondsFully compatible with standard PDF formats and viewersCross-platform support for seamless use on Windows, macOS, and mobileLightweight architecture for fast PDF rendering and editing
microsoft office alternative - wps office

Frequently Asked Questions

What is the difference between an absolute and a relative link in a PDF?

An absolute link contains the full file path including the drive letter (e.g., C:\Folder\file.pdf), which breaks if the file is moved to a new drive. A relative link points to a file's location in relation to the current document, making it safe to move as long as both files are kept together in the same folder structure.

Why do my PDF links break when moving from Windows to Mac?

Windows and Mac operating systems use entirely different file path formats and root directories. If your PDF relies on absolute paths, macOS cannot read the Windows drive letter (like C:), causing the PDF reader to fail when locating the linked file.

Can I update multiple broken PDF links at once?

Most standard PDF editors require you to update links individually. To avoid this tedious process, it is a best practice to organize your files in a single master folder and establish relative links before distributing or moving the final PDF.