How to Fix PDF Local File Links Not Working for Recipients
Question details
The user created a PDF with hyperlinks pointing to local files, which work correctly on their own machine but fail to open when the PDF is sent to other recipients.

- Product
- PDF Reader/Editor
- Device & OS
- not provided
- Scenario
- Distributing a PDF document that contains hyperlinks to supplementary files stored in a local computer directory.
- Observed behavior
- The recipient clicks the hyperlink in the PDF, but the linked file fails to open because the file path references a local folder that does not exist on the recipient's computer.
Gather all the supplementary files you intend to link into a single, dedicated folder alongside your main PDF document before updating any links.
Use Relative Paths and a Zipped Folder Structure
By placing all files in the same folder and using relative links, the links will remain intact when the entire folder is moved or shared.
When you link a file using an absolute path (e.g., C:\Users\Name\Documents\file.doc), the recipient's computer tries to find that exact path on their own hard drive, resulting in an error. A relative path only looks for the file's location relative to the PDF document itself.
Create a new folder on your computer and place both your main PDF document and all the files you want to link to inside this folder.
Open the PDF in your PDF editor, delete the old hyperlinks, and create new ones pointing to the files in this shared folder. The software should automatically use a relative path since they are in the same directory.
Right-click the main folder containing the PDF and the linked files, and select the option to compress or 'Zip' the folder.
Send the entire .zip file to your recipient. Instruct them to extract the folder before opening the PDF to ensure the relative links function correctly.

Embed or Attach the Files Directly within the PDF
Attaching the supplementary files directly into the PDF eliminates the need for external links and folder structures, keeping everything in one file.
Embed Files Directly in PDFs with WPS Office
Avoid broken hyperlink issues by embedding your supporting documents directly into your PDF. WPS PDF provides an intuitive way to add file attachments, ensuring your recipients have everything they need in one seamless package.
- 1. Open your PDF: Launch WPS Office and open the PDF document you want to share with recipients.
- 2. Access the Attachment Tool: Navigate to the 'Comment' tab on the top ribbon and click on the 'Attachment' icon.
- 3. Place the Attachment: Click on the specific area of the PDF page where you want the attachment pin to be visible to the reader.
- 4. Select Your File: In the file browser that appears, select the local file you want to embed and click 'Open'.
- 5. Save and Share: Save your PDF document. The file is now fully embedded and will travel with the PDF when you send it to others.

Frequently Asked Questions
Why do my PDF hyperlinks open on my computer but not for anyone else?
When you link a file on your computer, the PDF often saves the 'absolute path' (e.g., C:\Documents\file.xlsx). When a recipient clicks the link, their computer looks for that exact folder path on their own hard drive. Since they do not have your folders or files on their device, the link breaks.
What is the difference between a relative and an absolute path in PDFs?
An absolute path contains the full directory sequence starting from the drive letter (like C:\). A relative path only defines the location of the linked file in relation to the location of the PDF itself. If both the PDF and the linked file are in the same folder, a relative path ensures they stay connected even if the folder is moved.
Can I link to a file on a shared network drive instead?
Yes. If you link to a file hosted on a shared company network drive or a cloud sync folder, the link will work for the recipient, provided they are logged into the same network and have the correct access permissions to view that specific file.
Is there a file size limit when attaching files directly to a PDF?
While PDF formats do not have a strict technical limit for attachments, embedding large files (like videos or heavy presentations) will significantly increase the final size of your PDF document. This may make it difficult to share the PDF via standard email, which usually limits attachments to 20MB or 25MB.




