Let’s Talk

We would love to hear from you. Want to know more about
our services or have any questions? Say Hi!

How to configure Redirect Rule?

January 02, 2023
How to configure Redirect Rule?
Keyur Garala
Keyur Garala
Sitecore Certified Solutions Architect

What is Redirect Rule?

A redirect rule enables more than one URL can to a single web page.

How to create it?

  1. To create a rule you need to open IIS.

  2. In IIS you need to select your specific site to apply redirect/rewrite rule.

  3. In the specific site, you need to open the “URL Rewrite” as mentioned in the below screenshot.

  4. how-to-configure-redirect-rule-1
  5. Once you open it, you will be able to see the below screen and from that, you need to click on add rule from the actions bar on the top right corner.

  6. how-to-configure-redirect-rule-2
  7. Once you click on it, you will be able to see multiple options like mentioned in the below screenshot.

  8. how-to-configure-redirect-rule-3
  9. As we are talking about redirection, we need to select the blank rule which is already selected in the above screenshot, Once you open the blank rule, it will ask you the specific fields for redirection as mentioned in the below screenshot.

  10. how-to-configure-redirect-rule-4
  11. Provide specific details as mentioned in the below points.

    1. Give the name for your redirection rule on name fields.

    2. Select using as per your requirement like if anything is related to specific words or URLs then you can use regular expression. Wildcards will allow you any wildcard URLs. And the Exact Match will allow you the exact URL matching.

    3. Based on your selection enter the pattern and you can also test whether your pattern is correct or not from the Test Pattern button.

      1. Suppose you are selecting Regular Expression then you need to add the specific regular expression for your URL.

    4. Select Action type as Rewrite

    5. Give your specific site URL to Rewrite URL

  12. Finally, it will look like this.


Once you are done with this apply the rule and try with your given URLs.


The Redirect rule will help you with several redirection options that you can use to customize your targeted links. If you follow the above steps, you will be able to redirect the domain to the entire website to the specific page.