Changing a SharePoint Document Library URL

At some point or another you may need to change the name of a SharePoint document library.  This is a pretty straightforward change that can be done quickly using SharePoint's web user interface (UI).  But what if you need to change a document library's URL? 

Although you can change the URL of a site within a site collection using the SharePoint web UI, there isn't an interface to peform a similar action on a document library or list.  So how do you accomplish this type of change?

One way is to create a new document library with the URL you want and then move the content from the original document library to the new document library.  Although, this is a fine solution you should be aware of some of the ramifications of doing this:

1. You will lose any metadata in the copy/paste process 
2. Your documents will show a "Modified By" equal to the user performing the relocation of files
3. Your document library's item counts *may* be off. 

Actually, the main reason for this post, is to highlight number 3.  This is a behavior I had not noticed before until recently.  Basically, it looks as though performing a copy/paste of all content from one document library to another results in the target document library counting everything but the folders.  The target document library item count was off by the exact number of folders used in the hierarchy that was moved.

All that said, the quickest way to rename a document library's URL is to use SharePoint Designer.  Simply highlight the document library and click rename to change the document library's URL.  This will retain the metadata, document history and item counts.


Feedback

# re: Changing a SharePoint Document Library URL

Good article

Thanks 10/21/2009 12:24 AM | Ram

# re: Changing a SharePoint Document Library URL

Nice Article

!thanks
6/16/2010 3:06 AM | prashant

# re: Changing a SharePoint Document Library URL

When I right clicked on the document library, the name of the document library changed but not the URL. What am i doing wrong? Thanks 10/12/2010 9:05 AM | Anna

# re: Changing a SharePoint Document Library URL

You need to be in SharePoint Designer. Find the library then right-click on the library and click Rename in the context menu. After the rename, the library's URL will change. 10/12/2010 11:25 AM | blogadmin

# re: Changing a SharePoint Document Library URL

hi,I opened sharepoint designer & I found the Library and right clicked on the document library,renamed it but the name of the document library changed but not the URL. In sharepoint 2010. Should i do any thing else to change the URL. 10/20/2010 12:44 PM | Jhon

# re: Changing a SharePoint Document Library URL

This post was referring to WSS 3.0/MOSS 2007. It looks like the ability to change a list URL has been removed from SharePoint Designer 2010 and SharePoint 2010.

If you have access to PowerShell on the server you can try to move the library's root folder.  That seems to work.

10/20/2010 1:06 PM | blogadmin

# re: Changing a SharePoint Document Library URL

Actually it is possible to change a list / library URL in SharePoint Designer 2010, just not where you think you might. Don’t go under Lists and Libraries, find you list / library under All Files. Right click on the list to be renamed > first two columns Name affects the URL, Title affects the list / library Header. It's all good! 12/22/2010 10:05 AM | David

# re: Changing a SharePoint Document Library URL

@David - Thanks for the feedback. I'll check that out when I have a free moment. We actually found another way to make that change. I'll update the blog entry soon with the new information. 12/22/2010 11:05 AM | blogadmin

# re: Changing a SharePoint Document Library URL

David, I don't see "All Files" in my list of Site Objects...? 1/7/2011 1:08 PM | William

# re: Changing a SharePoint Document Library URL

One another way of doing would be modifying the Documnet library name through spdesigner.

2/14/2011 7:58 AM | Kunal Jaiswal

# re: Changing a SharePoint Document Library URL

Per suggested, in SPD 2010, under "All Files", I right clicked on the target list and renamed it, however the URL did not change from the Internet Explore view..any more suggestions? 6/13/2011 8:34 AM | Cee34

# re: Changing a SharePoint Document Library URL

David pointed me in the right direction. Here´s a more detailed description of the steps to take:
1.Open Sharepoint Designer and then open the site which includes the Document Library in question.
2.Click on All files in the Quick Launch menu on the left.
3.In the name column, right-click on the name of the Document Library and select Rename.
4.Change the name by entering it in the name field.
5.Click in another field in the Name column and a dialog will appear briefly indicating that the name is being changed for the Document Library whose name you just changed.
6.In Sharepoint go to the site that includes the Document Library in question and refresh three times. Why three times I do not know, but it works.
7.The url of the Document Library should have changed by now, and you can verify by hovering over the link and checking the url that appears towards the bottom of the screen.
8/17/2011 12:10 PM | BjornJ

# re: Changing a SharePoint Document Library URL

@David @Willima. In SPD, When I opened my site the whole site list displayed -- list of folders etc. this is where I renamed the URL by right clicking on the name. Super Easy. 10/14/2011 7:18 AM | Cari

# re: Changing a SharePoint Document Library URL

I don't see an "All files" option under the Site Objects menu item either (SharePoint 2010). Do you have any ideas why not; perhaps some hidden permission I'm missing?

I do see Lists and Libraries. If I click that, I can see the library and the option to rename it, but no way to change the URL. 12/14/2011 9:25 AM | Dave B.

# re: Changing a SharePoint Document Library URL

Per David Suggestion, i have followed the steps and it works, you might need to modify the Left navigation link, which is very simple.

Thanks David!!

Steps : Go to all file, Right click on the list and rename the list, this will effect the name and URL.

Manish 12/19/2011 11:31 PM | Manish

# re: Changing a SharePoint Document Library URL

Much easier is using the Explorer view, just right click and rename the Library. 12/29/2011 3:43 AM | Jan Ligtenberg

# re: Changing a SharePoint Document Library URL

Thank you David 1/3/2012 9:19 AM | Nataraj

# re: Changing a SharePoint Document Library URL

As Jan Ligtenberg outlined, you can indeed follow those steps from within the doclib:
1. Actions > Open with Windows Explorer
2. If you don't see the Folders displayed in the left pane, click 'Folders'
3. In the Folders pane, rename the folder that was just opened 2/15/2012 6:46 AM | Kris

# re: Changing a SharePoint Document Library URL

This was very helpful! Thank you for posting this! 5/2/2012 12:46 PM | Greg

# re: Changing a SharePoint Document Library URL

Just tried this and it worked for me, thanks!

I had to be a site collection administrator to see the all files link if that helps anyone else 5/10/2012 6:37 PM | Greg

# re: Changing a SharePoint Document Library URL

very helpful article. thank you. 5/21/2012 10:39 AM | Sarah

# re: Changing a SharePoint Document Library URL

Thanks Solien. David's method worked for me too. :) 6/18/2012 7:34 AM | Merin Nakarmi

# re: Changing a SharePoint Document Library URL

Great tip. Any way to change the url of the list if it was created under http://mysite/lists/mylist? I would like it to be http://mysite/mylist 9/10/2012 11:22 AM | Betty

# re: Changing a SharePoint Document Library URL

Thanks. Explorer view method works fine. Just don't forget to create new Quick-nav link. ;) 1/8/2013 11:44 PM | Marek

# re: Changing a SharePoint Document Library URL

Thank you so much for this information. Exactly what I needed. 1/22/2013 6:23 AM | Michele

Post a comment





 

Please add 7 and 4 and type the answer here: