301 to lowercase

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 04 Jun 2012, 11:50

301 to lowercase

31 Jan 2013, 18:47

We recently started testing a 301 redirect to lowercase for our site using this code:

RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) $1 [CL,R=301]

Everything seems to be working as expected, except that our site performance has been notably impacted and server CPU utilization has increased quite a bit.

My questions:
Is this the recommended way to accomplish the redirect to lowercase?
Is there anything that I can do to minimize the impact that this seems to have on my site performance and server utilization?

Thanks,
Clark

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: 301 to lowercase

31 Jan 2013, 22:14

Hello,

Yes, this is the correct way. CL flag was designed for this purpose.
However, we've never had reports regarding high performance issues. Can you confirm that ISAPI_Rewrite is the source of high CPU utilization by removing the rule?

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests