File Sharing Problems

Keep Word Document Links Working After Copying a Folder in WPS Office

Emma BrownEmma Brown Nov 13, 2026 868 views

Question details

The user needs a master Word document to keep links to reference documents working after the entire folder is copied, instead of continuing to open the original folder files.

Keep Word Document Links Working After Copying a Folder in WPS Office
Product
WPS Office Writer
Device & OS
not provided
Scenario
The user copies a folder containing a master document and several linked reference documents, and wants the copied master document to link to the copied reference files.
Observed behavior
After copying the folder, the links continue pointing to the original folder because Word stores absolute paths by default.
Before you start

Make sure all referenced files are kept in the same relative folder layout and know whether you want offline local links or online OneDrive links before editing the master document.

Solution 1Recommended

Switch Hyperlink Fields to Relative Paths in WPS Writer

Use this when you copy the entire folder locally and want the master document to follow the copied reference files instead of the original absolute paths.

Word and WPS Writer normally store hyperlinks as absolute paths, which is why copied folders still open the original files. Editing the hyperlink field code to a relative path makes the link resolve inside the current folder.

1
Open the master document and show field codes

Open the master .docx file in WPS Writer, then press Alt+F9 to display the underlying field codes for hyperlinks.

2
Edit the HYPERLINK field to a relative path

Locate the HYPERLINK field for the reference document and change the path to a relative value such as "reference.docx" or ".\reference.docx" depending on the folder structure.

3
Hide field codes and save the document

Press Alt+F9 again to return to normal view, then save the document. Copy the entire folder and open the copied master document to confirm the links now open the copied files.

Switch Hyperlink Fields to Relative Paths in WPS Writer
Relative path check: If the reference files stay in the same subfolder, use a relative path such as "Subfolder\reference.docx"; if they are beside the master document, use just the file name.
WPS Office solution

Keep Local Word Links Working with WPS Writer Relative Paths

Use WPS Writer to replace absolute hyperlinks with relative paths, so a copied folder opens the reference files inside that copied folder. For online collaboration, swap local links to OneDrive sharing links without changing WPS document formatting.

  1. 1. Download and install WPS Office: Download WPS Office from the official WPS website, install it, and open the master document in WPS Writer.
  2. 2. Open the hyperlink field codes: With the master document open, press Alt+F9 to show existing hyperlink fields that point to the original folder.
  3. 3. Edit to relative paths: Replace absolute paths with relative references such as "reference.docx" or ".\Subfolder\reference.docx" so the links resolve inside the current folder.
  4. 4. Save and test with a copied folder: Save the document, copy the entire folder to another location, and open the copied master document to verify the links now open the copied reference files.
Edit Word-compatible hyperlink fields directly in WPS WriterKeep .docx formatting and link behavior compatible with Microsoft WordFree WPS Office works with existing Word documents without conversionRelative paths make copied folders portable across drives and devices
microsoft office alternative - wps office

Frequently Asked Questions

Why do Word document links still open the original folder after copying?

Word and WPS Writer store hyperlinks as absolute paths by default. You can change the link to a relative path in the HYPERLINK field code or use an online OneDrive sharing link.

How do I show hyperlink field codes in WPS Writer?

Open the document in WPS Writer and press Alt+F9. Edit the HYPERLINK field value, then press Alt+F9 again to return to normal hyperlink display.

Can I use relative paths in WPS Writer for .docx files?

Yes. WPS Writer supports Word field codes, and saving the document as .docx preserves the relative path behavior.

Will OneDrive sharing links keep working after I copy the folder?

Yes. If the master document links to the online file URL, the links do not change when you copy the local folder. Keep the OneDrive sharing permissions open for anyone who needs access.

Do I need to recreate links manually for multiple reference documents?

No. You can edit each HYPERLINK field code or replace the link target with Ctrl+K; you do not need to recreate the hyperlink text from scratch.