Fix SharePoint Documents Changed into URL Links
Question details
Users are finding that their PDF, PowerPoint, and other older documents in a SharePoint library have unexpectedly changed into URL links (e.g., .stub.url) that require special access to open.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Accessing older files stored in a SharePoint document library that have seemingly been converted to URLs.
- Observed behavior
- The original files are replaced by URL links. Opening these links triggers prompts requiring access to a specific application or company account.
Verify your current permissions in the SharePoint document library and ensure you are connected to your company's internal network or VPN before attempting to open the affected links.
Verify Enterprise Archiving Policies and Access Stub Links
Determine if your organization's third-party archiving system has automatically replaced inactive files with URL stubs to save storage space.
Many organizations use third-party enterprise archiving solutions integrated with SharePoint. These systems automatically archive older, unmodified files and leave behind a small URL link (often containing '.stub.url') in place of the original file to save server space.
Double-click the converted URL link in the SharePoint library while securely connected to your company's network.
If a prompt appears, sign in using your enterprise credentials to allow the archiving server to fetch the original document.
Once the document successfully loads in the viewer, use the 'Save As' or 'Download' function to save a physical copy of the PDF or PowerPoint file to your local computer.

Check SharePoint's 'Link to a Document' Setup
Verify if the original files were manually replaced by links using SharePoint's native content types.
Restore the Original File Using Version History
Use SharePoint's version history feature to revert the item to its original document state if it was accidentally converted or replaced.
Manage Your Documents Seamlessly with WPS Office
While SharePoint handles enterprise cloud storage, WPS Office provides a lightweight, free alternative for creating, editing, and managing your local documents. Avoid unexpected archiving issues by keeping your important files accessible locally or on your preferred cloud drive.
- 1. Download and Install: Visit the official WPS Office website to download and install the free software suite.
- 2. Open Your Retrieved Files: Easily open your downloaded PDFs, Word documents, or PowerPoint presentations directly within WPS Office.
- 3. Edit and Save Locally: Make your necessary edits and save your files locally to avoid enterprise cloud archiving policies altering your documents.

Frequently Asked Questions
Why does my SharePoint file have a .stub.url extension?
A .stub.url extension typically indicates that your IT department is using an enterprise archiving solution. When a file hasn't been accessed for a long period, the system moves the heavy original file to secondary storage to save server space, leaving behind a small 'stub' shortcut in its place.
Can I recover the actual document from a SharePoint URL link?
Yes, in most cases, simply clicking the link while connected to your company's network will trigger the archiving system to retrieve and open the original file. From there, you can save a physical copy to your local drive.
How do I stop SharePoint from archiving my older documents?
Because archiving is usually managed by server-wide retention policies set by system administrators, you cannot disable it as an end-user. You will need to contact your IT department to request an exception or adjustment to the data retention policy for your specific library.




