How to Create a SharePoint Link That Works After a File Is Moved
Question details
The user needs to generate a SharePoint file link that remains fully functional and accessible even if the file is later moved to a different folder.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Sharing a document with colleagues or linking to a file in another location without worrying about the link breaking upon relocation.
- Observed behavior
- Standard URL links based on the folder path break when the file is moved, whereas official sharing links are designed to persist within the site.
Ensure you have the appropriate permissions to share files within your SharePoint site and that your organization's sharing policies allow link generation.
Use the SharePoint 'Copy Link' Feature
Using the built-in sharing feature generates a unique link tied to the file's ID rather than its folder path, keeping the link active regardless of its location within the site.
When you copy the URL directly from the address bar, it contains the explicit folder path. By using the 'Copy link' option, SharePoint generates a durable sharing link that references the document's unique ID.
Navigate to the SharePoint document library containing the file you want to share.
Hover over the file name and click the circular checkmark icon that appears on the left side to select it.
Click the 'Copy link' button located in the top command bar, or click the three vertical dots (Show actions) next to the file name and select 'Copy link'.
Click on the gear icon or the current sharing scope (e.g., 'People in your organization') to adjust the permissions. Select 'People in your organization' or 'People you choose' based on your needs.
Click 'Apply', then click 'Copy'. You can now paste this link into emails, chats, or as a URL shortcut. The link will remain functional even if the file is moved to another folder within the same SharePoint site.

Looking for a Seamless and Free Office Alternative?
While SharePoint manages your Microsoft 365 files, if you are looking for a highly compatible, free alternative for creating and editing documents, WPS Office offers a lightweight and feature-rich solution.

Frequently Asked Questions
Why did my SharePoint link break when I moved the file?
If you copied the URL directly from your web browser's address bar, that link represents the file's exact folder path. When the file is moved, the path changes, which renders the old URL invalid and breaks the link.
Does a sharing link still work if I rename the file?
Yes. When you create a sharing link using the 'Copy link' feature, SharePoint relies on the file's unique underlying ID rather than its physical name. Renaming the file will not break the link.
Will my link still work if I move the file to a different SharePoint site?
No. Durable sharing links are tied to the specific SharePoint site collection where the file was originally hosted. Moving the file across different sites or to a personal OneDrive will break the existing sharing link.




