301 to lowercase
2 posts
• Page 1 of 1
- clarkmitchell
- Posts: 3
- Joined: 04 Jun 2012, 11:50
301 to lowercase
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
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
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: 301 to lowercase
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
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests