“Pretty” List and Library URLs

This is a tip I learned years ago from my good friend (and SharePoint expert and running guru), acoralsea. I still find myself using this tip and sharing it with site owners.

When you create a library or list in SharePoint 2007 and SharePoint 2010, you must designate a name for the list. Whatever you type in the Name field will actually also become the URL. So, if you have spaces in the name, your URL will, too. Here’s an example:

  • You need to create a new library for storing financial reports so you name it Financial Reports Library.

  • The URL is also Financial Reports Library so it will read like this:
    http://site/subsite/Financial %20Reports%20Library/Forms/AllItems.aspx
    Yes, the dreaded "%20" shows up. This is certainly not the end of the world but it takes up a lot of space in the URL and can be difficult to read, unless your brain has learned to automatically convert "%20" to a space.

 

Here’s the easy way to create a URL that is as "pretty" as the name of the library:

  • In the Name field, type what you want the URL to be:

  • The URL is http://site/subsite/financialreports/Forms/AllItems.aspx
    This URL is much easier on the eyes and takes up fewer character spaces in the URL, too!

  • After the library is created, go back into the library settings, then to Title, description and navigation and change the Name to Financial Reports Library. Now the name displayed for the library will be a friendly one, too.

 

If you want to go back and change the URL of a library or list, you can do so by using SharePoint Designer (right-click on name of list or library and select "Rename"). Caution: This can sometimes break links to documents and items stored within the list so be sure you have a backup copy of the list before doing this.

 

 

2 Comments

  1. Steve December 28, 2010
  2. johnnyuafziqep February 7, 2011

Leave a Reply

x

We use cookies to ensure the best possible experience on our website. Detailed information on the use of cookies on this site is provided in our Privacy and Cookie Policy. Further instruction on how to disable our cookies can be found there.