Avoid ugly URLs

by dipbiswas 6. April 2010 08:58

Many a times for a better readability, we create lists and libraries naming them with spaces in between ("My Lists", "My Documents"). When such a name is used with a space in between, it actually results in an ugly url like My%20Lists, My%20Documents (%20 being the html encoded value for space). If we later rename the list and remove the space from the name, the url still does not change.

The recommended approach would be to create the list first with no space in the name (MyLists) and then rename the list to "My Lists". In this case, even after you change the name to include a space ("My Lists"), the url still remains as MyLists.

If this post helped you, please visit the sponsors from SharePointAds.com to check the latest offerings  

Tags:

Useful tips

Comments

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



The opinions expressed herein are personal opinions and do not represent others' view in anyway. All posts are provided AS IS with no warranties, and confers no rights.

Web Development & Design Blogs    Web design blogs   

You are visitor#