Edit: Now I need to solve this problem for real, I did a little more investigation and came up with a number of things to reduce duplicat
I was working on this as well. I will obviously defer to ScottGu on this. I humbly offer my solution to this problem as well though.
Add the following code to global.asax:
protected void Application_BeginRequest(Object sender, EventArgs e)
{
// If upper case letters are found in the URL, redirect to lower case URL.
if (Regex.IsMatch(HttpContext.Current.Request.Url.ToString(), @"[A-Z]") == true)
{
string LowercaseURL = HttpContext.Current.Request.Url.ToString().ToLower();
Response.Clear();
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location",LowercaseURL);
Response.End();
}
}
A great question!