---
title: "how to rewrite url in iis uppercase to lowercase"  
description: "how to rewrite url in iis uppercase to lowercase"  
author: "Anonymous User"  
published: 2020-07-31  
updated: 2025-02-26  
canonical: https://www.mindstick.com/forum/156023/how-to-rewrite-url-in-iis-uppercase-to-lowercase  
category: "asp.net"  
tags: ["mvc"]  
reading_time: 2 minutes  

---

# how to rewrite url in iis uppercase to lowercase

i want to rewrite my [url](https://www.mindstick.com/forum/436/url-redirection) upercase to lowercase in [mvc](https://www.mindstick.com/forum/155803/define-cache-profile-in-mvc) on [iis](https://www.mindstick.com/blog/286/how-to-host-php-on-windows-server-iis-8) setting. please help me any one.

## Replies

### Reply by Khushi Singh

When it comes to converting URLs in **IIS to lowercase characters** the URL Rewrite Module proves an efficient solution. Here’s how to do it:

## Steps to Rewrite URLs to Lowercase in IIS

- Set up the IIS URL Rewrite Module if it is missing
- Install the IIS URL Rewrite Module from Microsoft’s official website.

## Open IIS Manager

- Press the Windows key plus R, enter `inetmgr`, and hit Enter to open Internet Information Services Manager.

## Select the Website

- Navigate to Connections and unfold the server to pick the site where you will place the regulation.

## Open URL Rewrite Module

- Double-click on "URL Rewrite" in the Features pane.

## Add a New Rule

- From the Actions menu click "Add Rules...".
- Select Blank Rule and click OK to continue.

## Configure the Rule

- Designate this rule under the title Force Lowercase.
- Click "Add" under "Conditions" then enter these settings.
- Condition input: `{URL}`
- Check if input string: Matches the Pattern
- The rule notices uppercase letters anywhere within the URL.
- Click OK.

## Set the Redirect Action

- Under "Action", set:
- Action Type: Redirect
- Redirect URL: `{ToLower:{R:0}}`
- Redirect Type: Permanent (301)

## Apply and Save the Rule

- Tap the Apply button that appears in the Actions pane.

## Testing the Rule

- Open the URL `https://example.com/MyPage` with capital letters
- The system should automatically move visitors to `https://example.com/mypage` URL.

Lowercase URLs benefit SEO performance and eliminate duplicate content problems between URLs that use uppercase and lowercase letters.


---

Original Source: https://www.mindstick.com/forum/156023/how-to-rewrite-url-in-iis-uppercase-to-lowercase

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
