logo
search
SharePoint Document Issues

How to Create a SharePoint Link That Works After a File Is Moved

John WilsonJohn Wilson Oct 7, 2026 869 views

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.

How to Create a SharePoint Link That Works After a File Is Moved
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.
Before you start

Ensure you have the appropriate permissions to share files within your SharePoint site and that your organization's sharing policies allow link generation.

Solution 1Recommended

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.

1
Locate your file

Navigate to the SharePoint document library containing the file you want to share.

2
Select the file

Hover over the file name and click the circular checkmark icon that appears on the left side to select it.

3
Click 'Copy link'

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'.

4
Configure link settings

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.

5
Copy and distribute

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.

Use the SharePoint 'Copy Link' Feature
Site Boundaries: The sharing link is durable only when the file is moved within the same SharePoint site collection. Moving the file to a completely different SharePoint site or to OneDrive will break the link.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Built-in WPS Cloud allows you to easily generate persistent, secure sharing links for your documents.Lightweight software with a familiar tabbed interface for a seamless migration.Free to use with comprehensive document editing and PDF management tools.
microsoft office alternative - wps office

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.