How to Change the URL of the SharePoint List or Library?

Requirement: Change the List or Document Library URL in SharePoint.

Another interesting question: How do you change the URL of the existing List or Library in SharePoint? The end-user named a document library “2011 Goals & Results” at the time of list creation, and in the URL, it came as “2011%20Goals%20%20Results.” Now, they made a request to remove special characters in the URL.

change sharepoint list url

How to change the URL of a SharePoint List or Library?

Unfortunately, SharePoint has no direct way/interface to do that. However, these tricks will help you! Thought of Sharing. Changing the URL of a SharePoint list or library is a relatively simple process that can be completed in a few easy steps.

Here are the options to change the SharePoint List URL:

  1. Use Explorer View
  2. Use SharePoint Designer
  3. Using PowerShell to Change the URL of a SharePoint List or Library

Option 1: Use Explorer View to Change the SharePoint list URL

Open the SharePoint site in Windows Explorer view, Find the Root folder of the list, and Rename the List/Library as you rename it in your local Windows machine’s Explorer view! This renames the list web address as well.

change sharepoint list url 2007/2010

Option 2: Using SharePoint Designer to Rename List URL

Open the site with SharePoint Designer, All Files, Right-click the Library, and choose “Rename”. The New list URL will be updated on the site.

 sharepoint designer rename list url

Nice trick, Isn’t it? 🙂

sharepoint designer 2010 change list url

Option 3: PowerShell script to rename SharePoint List URL

Here is the PowerShell way to change the SharePoint List URL:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Web URL where the target list lives
$WebURL = "https://sharepoint.crescent.com"
#List Name
$ListName = "ExternalProjects"

#Get the Web List and Library objects
$web = Get-SPWeb $WebURL
$List = $web.Lists[$ListName]    

#Change the URL of the list from "ExternalProjects" to "Projects"
$List.RootFolder.MoveTo("Projects")

Summary

In summary, changing the URL of a SharePoint list or library is a relatively simple process that can be completed in a few easy steps. All it takes is a few clicks, and the new URL is ready to be used. However, it is important to remember that if you edit the URL of a list or library, it may cause some broken links and may cause custom solutions, web parts, and workflows to fail.

The above methods, #1 and #2, also work for SharePoint Online. For the PowerShell approach, use: How to change the List URL in SharePoint Online using PowerShell?

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

6 thoughts on “How to Change the URL of the SharePoint List or Library?

  • My colleague found a way to do it in the interface. Go to Site Contents. On the left pane, scroll down and click the Edit link. Scoll to the list or library in the left pane and then select the … (ellipsis). Select the Edit option on the pop-up menu. Then you can change the Address and the Display name.

    Reply
    • Hi Lori, I was looking for a solution to do this in the interface and came across your message, but I can’t seem to find the Edit link in the first place when I go to Site Contents. Any tips? Thanks!

      Reply
  • Used the SharePoint Designer and it updated all other links to that list (thus no broken links). Excellent tip! Thank you!

    Reply
    • You forgot to call $List.Update() after the last line in the powershell-solution. The change will not be processed completely without “$List.Update()”, and the url to the list will fail (pointing to old/wrong url while listname is internally changed).

      Reply
  • Only place I found this information, thanks!

    Reply
  • COOL.. the explorer view is superb.. Thanks a lot dude.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *