Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In
:
Help (new window)

An Office of Science User Facility

Includes

Includes
HELP: [ [ Folder and Files Naming Conventions for SharePoint ]
HELP: [ Simple Naming Conventions...Improve End User Experience ]
 
How-To Shorten SharePoint URLs
 
URLs have a limit of 256 characters. Folder and File names build the URL, so long names can result in problems. 
Invalid characters for the web used in folder and filenames (which are valid for Windows file system names) are another cause for errors.
 

 

How-To Shorten SharePoint URLs for Folders

If you use Folders inside a SharePoint document library, you will end up with long URLs. 
If you have a long SharePoint URL, you might encounter problems opening the file, pasting it as a hyperlink, etc.

The reason is explained on this blog 'Use a friendly SharePoint URL'':

'The URL fields in a SharePoint list or library have a 255 character limit. This means that, if you paste a URL that is longer than 255 characters into the URL field in a SharePoint list or library, the URL will be truncated and may not work correctly. This is true whether or not the URL points to a SharePoint site or another site on the Web.....'

 

As an interim solution, you can shorten the URL this way.

To shorten URL#1

https://slacspace.slac.stanford.edu/sites/lcls/strategic_projects/MECi/MECi_Documents/Forms/AllItems.aspx?RootFolder=%2fsites%2flcls%2fstrategic%5fprojects%2fMECi%2fMECi%5fDocuments%2f1%2e4%5fTarget%5fDiagnostics%2fVISAR&FolderCTID=0x0120002A725CD16A033A428290EFCF192C45FB&View=%7bCAA93A29%2dC339%2d420D%2dB9BE%2dCEE68AA8D8E7%7d

1) Go to the document library and navigate to the location/folder you want

2) Go to open with 'Explorer View' (only available for Internet Explorer web browsers).


3) Put your cursor up at the 'location' box on the top of the 'Explorer View' window, the location will change to a location string

e.g., https://slacspace.slac.stanford.edu/sites/lcls/strategic_projects/MECi/MECi_Documents/1.4_Target_Diagnostics/VISAR

 


This is a much shorter URL that you can copy and send via e-mail.  It will always get you back to this folder within the document library.

 

You can also use an external service, such as http://tinyurl.com/

 


 

How to Shorten SharePoint URL's for Files

One easy way to get a short URL for files is on the pulldown menu which appears when you mouse over the filename, select

  -> Send To  
  -> E-mail a Link



 

 

 If you have further questions, please send e-mail to lcls-webmaster@slac.stanford.edu