Here's the background to my problem: Google Webmaster Tools is showing half of my pages as duplicate content because it counts CAPS in urls as differnet content then the same url with lowercase text. My site only links to pages in lower case, so it must be from external links. For example: ...com/SEO-Tools/somepage.asp is showing as duplicate content to ...com/seo-tools/somepage.asp I am trying to set up 301 redirects to the lowercase versions using my web.config file. Here is the problem: I added the following rewrite module for IIS7 to the web.config: <rewrite> <rules> <rule name="Convert to lowercase" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{R:0}}" redirectType="Permanent" /> </rule> </rules> </rewrite> Code (markup): Now when I go to ...com/SEO-Tools/somepage.asp it redirects to ...com/s and I get a 404 error, so it is only changing the first capital letter to lowercase and nothing else. It may be the regular expression, but this is all I could fine online as an example for doing this. Any help would be greatly appreciated! Thanks. John