SharePoint Events

  5/06/2014 - Webcast: Advanced Workflow, Forms and Mobility in Office 365 and SharePoint 2013 from Nintex
  5/07/2014 - Webcast: View, Annotate and Secure your Content Anywhere and on Any Device in SharePoint 2013
  5/08/2014 - Webcast: Advanced Records Management with SharePoint
  5/29/2014 - Webcast: Enhance Productivity, Usability and Relevance with Advanced Search in SharePoint 2013

 SharePoint Videos

  Why SharePoint 2013
  Keys to Successful SharePoint Initiatives and User Adoption
  Out of the Box Business Intelligence and Reporting in SharePoint 2013
  Driving the Business Case and User Adoption for SharePoint
  Automate Business Processes with SharePoint 2013 and Business Connectivity Services
  SharePoint and Office 365 Migration Made Easy
  Full Lifecycle Content Management with SharePoint 2013
  Compliant Document Generation and Assembly in SharePoint
  Application of Content Security and Corporate Risk Protection in SharePoint
  How to Redline, Markup, Collaborate and Review Content in SharePoint
  Advanced Content Lifecycle and Records Management in SharePoint
  Advanced Workflow Made Easy with SharePoint 2013 and Nintex
  Full Lifecycle Content Management with SharePoint 2013
  SharePoint 2013 Solutions for the Financial Services Industry
  ProjectReady 2013: SharePoint Solutions built for the AEC
  SharePoint 2013 Solutions for the Legal Industry
  Driving the Business Case and User Adoption for SharePoint
  Investment Considerations for SharePoint 2010 and SharePoint 2013
  SharePoint 2013 and Enterprise Content Management
  SharePoint 2013 Launch
(More Links...)

 Archives

Opening SharePoint Links in a new windowUse SHIFT+ENTER to open the menu (new window).
Mail Enabled Lists vs. The Missing Windows 2008 POP3/IMAP Server Use SHIFT+ENTER to open the menu (new window).
7 Tools for SharePoint DevelopersUse SHIFT+ENTER to open the menu (new window).
Public Facing Masterpage TechniquesUse SHIFT+ENTER to open the menu (new window).
How to Quickly Deploy and Activate a Timer Service to Your Site CollectionUse SHIFT+ENTER to open the menu (new window).
Custom SharePoint Master Page Feature with WSP BuilderUse SHIFT+ENTER to open the menu (new window).
Date Math with InfoPathUse SHIFT+ENTER to open the menu (new window).
Enterprise Search Tricks and Tips Part 1Use SHIFT+ENTER to open the menu (new window).
Populating Word Documents With SharePoint Data. Try The DIP!Use SHIFT+ENTER to open the menu (new window).
Programmatic Deep Dive into Blank SharePoint Lookup ColumnsUse SHIFT+ENTER to open the menu (new window).
1 - 10 Next
How to Change the Url For a SharePoint 2010 List or Library

By: Arjun Chakraborty

 

Today I’ll talk about changing the Url for a SharePoint list or library.  Oftentimes, someone give descriptive names to a list, during creation.  The unintended consequence of this is that the lists have long, drawn out urls, which can look unappealing to users and become inconvenient for developers.  The procedure for changing the url is the same for both.

 

Here is a newly created list, and it’s Url:

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

Suppose, I want to change the /Important%20Items/ into a much more concise /II/. 

 

I would do this by:

1) Opening the site in SharePoint Designer 2010.

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

 

2)   Then, I would select the ‘All Files’ button in the Navigation pane to the left:

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

3)   Selecting ‘Lists’ in the central window:

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

4)   Right click on the target list, and select ‘Rename’.  However, before you do this, you may want to record the name of the list!  You will need it later!

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library 

5)   Now, I will rename it to ‘II’. (those are i’s, not L’s)

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

Press enter and:

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

Finally, press [ctrl]+[s] to save the changes to the site.

6)   Now, when we go back to the SharePoint List on Internet Explorer, we see:

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

7)   - The quick launch link did not change.
- The list Title DID change.
- This list Url DID change.
- And, the Items within the list have not changed (the modified date will confirm this).

8)   Finally, the last step is to change the list title once again to its previous value.  I hope you recorded that value, back in step 4!  To change the title, simply go to the list tab on top, select List Settings to the right, and the Title, description and Navigation link in the List Settings page.  Type in the original Title, and click okay.  As a result, the new (old) list should look like this:

 

How_to_Change_the_Url_for_a_SharePoint_2010_List_or_Library

 

By: Arjun Chakraborty

        

Comments

William

"All Items" does not appear in my list of Site Objects.  Any idea why that might be?
at 1/7/2011 4:16 PM

Deb Walther

Doesn't change the URL, only the list name.
at 2/22/2011 4:29 PM

Arjun

Hey William,

I'm not sure how to help you there.  I've never seen SPD not offer that link.  It seems rather crucial. =)

Hey Deb Walther,

Are you sure you clicked on "All Files" under "Site Objects", and not "Lists and Libraries" under Site Objects?  The "Lists and Libraries" does not change the url, but going to the "Lists" folder under "All Files" will allow you to change the url, by changing the 'Name' column.
at 2/23/2011 11:03 AM

Illinger

Arjun,

Interesting to know that you can rename the directory, though not really what I'd consider changing the URL, being that the path essentially remains the same.

Any thoughts on how to actually modify the URL to point somewhere else?  Say, on the parent site?

Thanks
at 3/10/2011 1:03 AM

Jussi Sivonen

Worked like a charm. Annoying though that it also changes the Title for some weird reason... But that can be changed back inside SharePoint w/o opening the designer.
at 3/24/2011 9:05 AM

rrllanillo

Thanks a bunch! and the title didn't change either.
at 9/7/2011 3:38 PM

Todd Wilder

NICE!
at 11/15/2011 11:24 AM

Manohar

I have the same issue as William. Can't see 'All files' under Site Objects (last displayed item is 'Subsites'), so cannot change the name of the URL.  Extremely annoying and frustrating!
at 12/27/2011 5:22 PM

Aagust kk

How can i change item's URL of a List or Libraries in my work ? (e.g Important Items). Is there any way?
at 1/31/2012 12:53 AM

Arjun

Hey Aagust,

Unfortunately, for lists, there isn't much you can do.  the page used to view the item has a pretty specific url:

/DispForm.aspx?ID=1, /EditForm.aspx?ID=1

notice the item's SharePoint ListItem ID is used in the Url.  The only way to change this url is to use a different item, with a different ID.

As for document libraries, the only way to change the url for an item/document is to change the document's name.  Doing it manually is easy enough, but doing it programmatically can be a little tricky.  Look around; there are a few articles floating around, which show how to do it programatically.  It involves checking in and out the document.
at 1/31/2012 1:21 PM

Ian

I also could not see the 'All Files' until i ran Sharepoint Designer while logged into my pc using our domain administrator account. This account was used to install Sharepoint Foundation.

As a minimum, i think the account you use just has to be a member of the Primary or Secondary Site Collection Administrator groups. In our case, these just happen to all be the same account. I haven't tested this yet by adding my user account to one of these groups.

I hope this helps.
at 2/1/2012 10:24 PM

Ian

I just added my user account to the Secondary Site Collection Administrator group. I can now see 'All Files' when i run Sharepoint Designer under my normal login. Now everything works as outlined in Arjun's orginal post. No more %20 links!! Thanks Arjun!
at 2/1/2012 10:32 PM

Steve

Change of URL worked but getting some anomalies from existing workflows. I have some links to list items in email. Some are working OK still but I am struggling to add new since the url change. Basically I took the spaces out of my list name for the url as it makes life easier but now lookups are doing some very odd things. I add a lookup using the Current Item:ID save but when I check for errors the send email is highlighted and when I go back in the lookup is just represented as %%. url path is right to new url. Is there any effect to workflows & lookups on the url change normally. Help..
at 2/14/2012 12:28 PM

Hugo Kreuk

Thanks a million!
at 4/2/2012 10:41 AM

Greg

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
at 5/10/2012 9:37 PM

Tim

Hi  Thanks for this looks like its done the trick however have a problem on one of my Libraries that have metadata set on folders using column default values set on folders...

Still points to the old location how do i change that any ideas?
at 8/2/2012 4:11 AM

Don

Made my Day!!1 Thanks so much
at 8/7/2012 4:28 AM

Sheetal

Thanks a lot...
at 9/20/2012 8:07 AM

Anthony Cross

What if I don't have SharePoint Designer?
at 11/14/2012 3:05 PM

Josh

IF you're having trouble finding your Document or Form library in the All Files tab/list, try pinning the All Files site object to the Navigation panel by clicking on the little "pin" icon to the right of the title and icon in the Site Objects/Navigaion panel on the left and searching for it in the All Files list that appears below.
at 11/26/2012 6:28 PM

AbdulMughni Ansari

Thanks Arjun for this valuable post. This post came as a relief after going through another post which said that the list needs to be recreated for changing the url.
at 4/1/2013 3:23 AM

Olga

Thanks! That was perfect, screenshots and all.
at 4/30/2013 1:05 PM

Pushp Singh

Thank you so much..

Thanks Arjun for this valuable post

it awesome.....
at 6/19/2013 10:53 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Your Name *


e-mail address *


Website (optional)


Comment *


Attachments

 Subscribe

  GigWerks RSS  Gig Werks Mailing List 

 Contact Us

 Connect

 Resources

  On Demand SharePoint Webcast Recordings
  Upcoming Webinars
  SharePoint Resources
  Business Intelligence Resources
  Gig Werks Website



©2009 Gig Werks. All rights reserved. Privacy Policy