How to Automatically Update Word Links When a Linked File is Renamed
Question details
The user wants to find a way to automatically maintain and update hyperlinks in a Word master document when the destination files are renamed or relocated.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Managing a master document that contains multiple hyperlinks pointing to other local or shared files.
- Observed behavior
- Microsoft Word does not automatically update the hyperlinks, resulting in broken links when the linked document changes its name or folder location.
Ensure you have access to a cloud storage platform like Microsoft OneDrive or SharePoint, as local file paths in Windows cannot inherently track file name changes.
Use SharePoint or OneDrive for Resilient Links
Store your documents in Microsoft cloud services to generate dynamic links that remain valid even if the file name is changed.
Local file paths are static and will break instantly if a file is renamed. By hosting your linked documents in SharePoint or OneDrive, the system assigns a unique internal ID to the file. This allows the sharing link to stay functional regardless of structural or name changes.
Move both your master Word document and all target linked files into the same directory in your OneDrive or SharePoint library.
Right-click the target file in the OneDrive or SharePoint web interface and select 'Copy link'.
Open your master Word document, highlight the text you want to link, press Ctrl+K (or Cmd+K on Mac), and paste the copied cloud link into the Address bar.

Create a Power Automate Flow
Use Microsoft Power Automate to detect when a file is renamed and automatically update the corresponding links in the master document.
Manage Your Documents Seamlessly with WPS Office
Tired of dealing with broken local links and complex automation workarounds in Microsoft Word? Try WPS Office. It provides a lightweight, highly compatible environment for document management, featuring built-in cloud support to keep your files organized and accessible.

Frequently Asked Questions
Why do hyperlinks break in Word when a file is moved?
Word relies on static absolute or relative file paths to locate linked files. When a file is moved or renamed, the path stored in the hyperlink becomes invalid, causing a 'Cannot open the specified file' error.
Is there a native setting in Word to auto-update local file links?
No, Microsoft Word does not have a built-in feature to automatically track and update local file paths if a file is renamed in Windows File Explorer or macOS Finder.
How can I manually fix broken links in my Word document?
To manually update a broken link, right-click the hyperlink in your document, select 'Edit Hyperlink', and use the file browser to locate and select the file in its new location or under its new name.




