• Skip to main content
  • Skip to primary sidebar

Technical Notes Of
Ehi Kioya

Technical Notes Of Ehi Kioya

  • Forums
  • About
  • Contact
MENUMENU
  • Blog Home
  • AWS, Azure, Cloud
  • Backend (Server-Side)
  • Frontend (Client-Side)
  • SharePoint
  • Tools & Resources
    • CM/IN Ruler
    • URL Decoder
    • Text Hasher
    • Word Count
    • IP Lookup
  • Linux & Servers
  • Zero Code Tech
  • WordPress
  • Musings
  • More
    Categories
    • Cloud
    • Server-Side
    • Front-End
    • SharePoint
    • Tools
    • Linux
    • Zero Code
    • WordPress
    • Musings
Home » SharePoint » How To Change A SharePoint List Or Library URL

How To Change A SharePoint List Or Library URL

Last updated on September 10th, 2020 at 01:13 pm by Ehi Kioya 2 Comments

All versions of the SharePoint user interface provide an option to change the title (or display name) of a list or library. You can usually find this option here: List (or library) settings >> List name, description and navigation.

What if you want to change the URL (also known as internal name) of the list or library? The process to do this is not exactly very intuitive. So, we will discuss it in this article.

About SharePoint List and Library URLs

The URL of a SharePoint list or library is automatically set at creation time – using the “Name” entered. So depending on your SharePoint version, spaces you entered in the “Name” field will either be rendered as %20 or _x0020_ (because _x0020_ represents the URL encoding for %20).

The common practice to avoid ugly SharePoint URLs is to create lists or libraries without spaces at first. And then, edit the list or library thereafter to change the display name. The internal name (URL) remains clean (no %20 or _x0020_) and unchanged.

So, there is clearly a simple method for changing the display names of SharePoint lists and libraries. But if you made a mistake in the value you entered in the “Name” field when you originally created the list, your options to change the URL are limited. And many users just end up deleting the list and creating it again – this time with the correct URL.

Using the method below, you can avoid recreating your lists just because of a list URL error.

Changing SharePoint Library URL

SharePoint Designer is required to do this.
 
Open your website in SharePoint Designer and navigate to the All Files node.

Changing SharePoint Library URL

Find your list or document library there. Right-click it and press Rename. The URL and internal name will then change.

Important: Use the All Files node and NOT the List and Libraries node. Even though you may be able to complete the steps from the List and Libraries node, the underlying behavior of “Rename” is different and not what we want. Renaming from the List and Libraries node only changes the title (or display name) not the URL.

Avoid This Other Method…

Another (often suggested) method for changing the URLs of SharePoint document libraries specifically is to:

  • Open the library in explorer view.
  • Navigate one folder up to display your libraries as folders.
  • Rename the required library’s folder name as you want the URL to look like.

I don’t recommend the above explorer view method because…

While the explorer view method may produce the desired result of changing the library’s URL, it could potentially also cause an issue with Microsoft Office column defaults in the Document Information Panel.

Within a library’s “forms” folder, there is a file named client_LocationBasedDefaults.html, which holds an XML definition of folder column defaults used by client applications such as MS Office. That file contains an href containing the library URL.

A rename via SharePoint designer updates that URL but renaming via explorer view does not.

Found this article valuable? Want to show your appreciation? Here are some options:

  1. Spread the word! Use these buttons to share this link on your favorite social media sites.
  2. Help me share this on . . .

    • Facebook
    • Twitter
    • LinkedIn
    • Reddit
    • Tumblr
    • Pinterest
    • Pocket
    • Telegram
    • WhatsApp
    • Skype
  3. Sign up to join my audience and receive email notifications when I publish new content.
  4. Contribute by adding a comment using the comments section below.
  5. Follow me on Twitter, LinkedIn, and Facebook.

Related

Filed Under: SharePoint Tagged With: SharePoint, SharePoint Designer, SPD

About Ehi Kioya

I am a Toronto-based Software Engineer. I run this website as part hobby and part business.

To share your thoughts or get help with any of my posts, please drop a comment at the appropriate link.

You can contact me using the form on this page. I'm also on Twitter, LinkedIn, and Facebook.

Reader Interactions

Comments

  1. VERONICA says

    April 2, 2020 at 10:12 am

    hi Ehi,
    I do not have ALL FILES in Sharepoint designer. I don’t know why or how to find it. I need to change an URL.

    Reply
  2. Georgi petrov says

    April 30, 2020 at 9:32 am

    Thanks Ehi Kyoa. Solved my problem and the advice about getting it right at the start is very valuable and valid but we live in the real world where perfection does not exist.

    Easy when you know how 🙂

    Reply

Leave a Reply Cancel reply

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

Primary Sidebar

25,641
Followers
Follow
30,000
Connections
Connect
14,583
Page Fans
Like

POPULAR   FORUM   TOPICS

  • How to find the title of a song without knowing the lyrics
  • Welcome Message
  • How To Change Or Remove The WordPress Login Error Message
  • The Art of Exploratory Data Analysis (Part 1)
  • Getting Started with SQL: A Beginners Guide to Databases
  • Replacing The Default SQLite Database With PostgreSQL In Django
  • How to Implement Local SEO On Your Business Website And Drive Traffic
  • Storing and Deleting Multiple Files In Laravel
  • Building A Blog With Laravel – Part 4: Working With Models And Migrations
  • Customizing Bar Graphs With Python’s Matplotlib Library
  • Recently   Popular   Posts   &   Pages
  • Actual Size Online Ruler Actual Size Online Ruler
    I created this page to measure your screen resolution and produce an online ruler of actual size. It's powered with JavaScript and HTML5.
  • Allowing Multiple RDP Sessions In Windows 10 Using The RDP Wrapper Library Allowing Multiple RDP Sessions In Windows 10 Using The RDP Wrapper Library
    This article explains how to bypass the single user remote desktop connection restriction on Windows 10 by using the RDP wrapper library.
  • WordPress Password Hash Generator WordPress Password Hash Generator
    With this WordPress Password Hash Generator, you can convert a password to its hash, and then set a new password directly in the database.
  • Forums
  • About
  • Contact

© 2021   ·   Ehi Kioya   ·   All Rights Reserved
Privacy Policy