« Previous Next »
Last post 07-23-2008 10:09 PM by ruslany. 8 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (9 items)
Sort Posts: Oldest to newest Newest to oldest
I would like to make sure everything is in lowercase in my url. When I imported this rule it did not apply, it actual broke:
rewriteRule ^/(.*)$ /${lowercase:$1}
Any help would be greatly appreciated
Case doesn't matter in a URL, why is this important?
Jeff
We need this for redirection to a linux server.For instance http://www.example.com/homepage.html is not the same as http://www.example.com/Homepage.html
A.
Hi,
What is your rewrite module? The rule is depending on rewriting module, please look it up at the document of the tool.
I am using IIS7 rewrite module. I do not control the destination page I am redirecting to, nor do I control their server.
The URL rewrite module for IIS 7.0 currently does not have the built in support for converting to lower case.
I think you could easily achieve your lowercased URL via a bit of code in the Global.asax.
-------------
Dim strLowerRequestURI As String = Request.Url.AbsoluteUri.ToLower
.Clear()
.BufferOutput =
.StatusCode = 301
.Status =
.RedirectLocation = strLowerRequestURI
.End()
Cordially,
Lee C.
Any plans to add lowercase conversion support in the near future?
The lowercase conversion support will be provided in beta release of the module.