Edit a Document Link URL in SharePoint Online
Question details
The user wants to change the destination URL of an existing document link in SharePoint Online.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- A document library contains a link that needs to point to a different URL.
- Observed behavior
- The current SharePoint experience may not offer a way to edit the link URL, and viewing its properties can produce an edit-form error.
Have the correct destination URL ready and confirm that you can add and delete items in the document library. Check whether other pages or users reference the existing link, because replacing it will not automatically update those references.
Replace the SharePoint document link with a new link
Use this workaround when the existing link does not offer an editable URL.
In SharePoint Online, open the site and navigate to the document library containing the existing link.
Select New > Link, paste the correct destination URL, and enter a link name if prompted. Select Create or Save.
Select the new link in the library and confirm that it opens the intended document or page.
Select the old link item, choose Delete from the toolbar or item menu, and confirm the deletion.
Update any SharePoint pages or other locations that point to the old link so they point to the replacement.

Report an unavailable edit form or request URL editing
Use this option if link properties show an edit-form error or you need support for editing existing link URLs.
Work with Office Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Open compatible files from your existing workflow for an easier transition; WPS does not change SharePoint link destinations.

Frequently Asked Questions
Can I change the URL of an existing SharePoint document link?
The option may not be available in the current SharePoint experience. If you cannot edit the URL in the link properties, create a new link with New > Link and remove the old link item.
Will deleting the link also delete the document?
Deleting a link item removes the link, not the document at its destination. Check that you have selected the link item rather than the document before choosing Delete.
What should I do if SharePoint cannot find the default edit form?
Record the exact error and the site and library details, then start a SharePoint support discussion. You can also replace the link if you have permission to add and delete library items.
Will a replacement link update references to the old link?
No. The replacement is a new item, so update any pages or other references that point to the old link after testing the new one.




