How to Fix Excel Hyperlinks That Change or Return 404 Errors
Question details
Users need to stop Excel hyperlinks from automatically modifying their destination paths or breaking entirely when linking to external resources.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Clicking on hyperlinks targeting files stored on network shares, cloud storage locations, or web servers within a saved Excel workbook.
- Observed behavior
- The hyperlink addresses change automatically upon saving or updating, resulting in broken links and 404 errors when clicked.
Verify that the destination files or web locations are still active and that you have the correct network or cloud permissions to access them before attempting to repair the links.
Disable Automatic Link Updates on Save
Prevent Excel from automatically recalculating and modifying your relative or absolute hyperlink addresses when you save the workbook.
Excel has a built-in feature that automatically updates links upon saving. While intended to be helpful, this can cause direct links to network shares or web hosts to break. Disabling this web option often prevents links from changing unexpectedly.
Click on the 'File' tab in the top-left corner of Excel, then select 'Options' from the bottom of the menu.
In the Excel Options dialog box, click on 'Advanced' in the left pane. Scroll down to the 'General' section and click the 'Web Options' button.
Go to the 'Files' tab within the Web Options window. Uncheck the box labeled 'Update links on save'.
Click 'OK' to close the Web Options dialog, and click 'OK' again to exit Excel Options. Save your workbook to apply the new setting.

Set a Fixed Hyperlink Base
Define a strict base address for your workbook to prevent Excel from incorrectly guessing relative paths.
Use Folder Links or the IMAGE Function
Bypass the unreliability of direct file links by linking directly to folders, or use formulas to display web images.
Use WPS Office to Reliably Manage Spreadsheets and Hyperlinks
If you continue to experience frustrating hyperlink issues and 404 errors in your current spreadsheet software, consider switching to WPS Office. It provides a highly compatible and stable environment for handling complex workbooks, network links, and cloud paths without unexpected modifications.
- 1. Download and Install: Visit the official WPS Office website to download the free suite and install it on your computer.
- 2. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsx file directly. Your formatting and formulas will remain intact.
- 3. Manage Links Securely: Insert or update your network and web hyperlinks. WPS Office will preserve your exact URLs and paths upon saving.

Frequently Asked Questions
Why do my Excel hyperlinks keep changing automatically?
Excel has a default 'Web Option' enabled that updates links when saving a document. It often attempts to convert absolute network paths into relative paths based on where the workbook itself is saved, which can result in broken links.
How do I stop Excel from changing absolute hyperlinks to relative?
You can prevent this by unchecking 'Update links on save' in Excel Options under Advanced > Web Options > Files tab. Alternatively, you can define a specific 'Hyperlink base' in the workbook's Advanced Properties.
Can I recover a broken Excel hyperlink?
Unfortunately, once Excel changes a link and the workbook is saved, the link is permanently modified. You will need to manually edit and rebuild the broken hyperlink with the correct destination URL or file path.
Are folder hyperlinks more reliable than file hyperlinks in Excel?
Yes. Due to how Microsoft 365 applications process file resolutions on cloud and web hosts, linking to the parent folder directory is generally much more stable and less prone to returning 404 errors.




