A site consists of 3 components:

  • The Force.com domain name that uniquely identifies your specific organization (case insensitive)
  • The path identifies the specific site (case sensitive)
  • A Visualforce page that is associated with your site (case insensitive)

the path in the example:  locations  is case sensitive, here is a solution to make it case insensitive.

  1. Create a root site (a site without path) e.g. http://universal.force.com
  2. Update the default FileNotFound page in the root site to include a controller…

    •  
  3. The controller will looks like:

 

ref. https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites


Leave a Reply

Your e-mail address will not be published. Required fields are marked *