How to Keep PDF Links Working When Moving to a USB Drive
Question details
The user needs to transfer a PDF document and its internally linked external files to a USB drive without breaking the hyperlinks.

- Product
- Device & OS
- not provided
- Scenario
- Transferring a linked PDF project to external storage, such as a USB flash drive, for sharing with a client or creating a portable backup.
- Observed behavior
- When PDFs and their target files are moved improperly, hyperlinks often break because the destination file paths change. The user wants to ensure the links continue pointing to the correct files after the move.
Ensure that all the external files referenced by your PDF links are gathered and saved within the same main folder or directory as the master PDF document before moving anything.
Preserve the Folder Structure for Relative Links
Keep the PDF and its target files in the exact same relative locations when copying them to ensure hyperlinks remain intact on the new drive.
When you create hyperlinks in a PDF editor pointing to files in the same folder or a subfolder, the software typically uses 'relative paths' (e.g., /attachments/file.pdf) instead of absolute paths (e.g., C:\Documents\attachments\file.pdf). By moving the entire parent folder, you preserve these relative paths, allowing the links to function perfectly regardless of the drive letter assigned to the USB.
Create a new main folder on your computer. Move your master PDF document into this folder. If you have linked external files, move them into this folder or create subfolders within it for organization.
Open the PDF in your PDF editor. If you moved the files from distant directories into this new master folder, edit your existing hyperlinks and re-link them to the new local files to ensure they use relative paths.
Connect your USB drive. Copy the entire master folder (containing the PDF and all linked files) from your computer and paste it into the USB drive.
Open the USB drive folder on your computer and double-click the PDF to open it. Click on the hyperlinks to verify they successfully open the attached files directly from the USB drive.

Easily Manage PDF Hyperlinks with WPS Office
WPS Office offers a robust set of PDF editing tools that allow you to seamlessly insert, edit, and manage hyperlinks. It makes organizing relative links straightforward, ensuring your interactive PDFs stay fully functional when shared or moved across drives.
- 1. Open your PDF: Launch WPS Office and open your PDF document.
- 2. Access the Link tool: Navigate to the 'Edit' tab on the top ribbon and click on the 'Link' button.
- 3. Add or modify a hyperlink: Select 'Add/Edit Link', draw a box over the text or image, and choose 'Open a File'.
- 4. Select the local file: Browse and select the target file from the same directory as your PDF to establish a relative link, then save the document.

Frequently Asked Questions
Why do my PDF links stop working on a different computer?
Links often break if they were created using absolute paths (which point to a specific user drive like C:\Users\Name\...) or if the linked destination files were not copied to the new computer along with the PDF.
How do I change an absolute link to a relative link in a PDF?
To fix this, move the target file into the same folder as your master PDF. Then, open the PDF in your editor, right-click the broken hyperlink, select edit properties, and re-link it to the file in its new local position.
Can I link multiple PDFs together on a USB drive?
Yes. As long as all the interconnected PDFs are stored within the same folder or directory structure on the USB drive, you can cross-link them using relative paths and they will open seamlessly.




