The URL Rewrite Module is an extension software for IIS (Internet Information Services). URLs should be created so that they are easy to remember for the users and easy to find for the search engines. The URL Rewrite Module enables web administrators to develop and implement rules that assist them in this task.
Question:IIS URL Rewrite rule for redirect http to https and non-www to www using web.config?
Description:Basically I need two separate IIS URL Rewrite rule for my website, one for redirecting visitors from http to https and the other one for redirecting visitors from non-www to www using web.config Previously I was using the solution which was for working fine for me with http but now I have setup the ssl so now I have tried updating the same code but I am having issues with it.
Posted by: Junaid Aziz | Posted on: Apr 01, 2022
Question:remove server information from response header using web.config in different versions of IIS?
Description:I have different sites hosted on multiple environments one is using IIS 8 and the other one is using IIS 10 , I wanted to remove the server information from the response header using web.config and currently I am using following URL Rewrite Outbound rule but unfortunately it is not working in any of the environment. <rewrite> <outboundRules rewriteBeforeCache="true"> <rule name="Remove Server header"> <match serverVariable="RESPONSE_Server" pattern=".+" /> <action type="Rewrite" value="" /> </rule> </outboundRules> </rewrite>
Posted by: Khalid Abbas | Posted on: Mar 17, 2022
Question:How to setup a redirect from non-www to www (http) for asp.net mvc application preferably using web.config rewrite rules?
Description:I have a website built on asp.net mvc deployed using the latest iis version, where I have URL Rewrite module installed. I have already tried some rewrite rules but found some wrong redirects so I have removed it, now need some urgent workaround as it is current affecting live site!
Posted by: Umer khan | Posted on: Jan 07, 2020
Question:how to implement Cache Busting technique of "File path versioning" or "File name versioning" for asp.net mvc site?
Description:I have studied about cache busting techniques and came to know that there are mainly three such techniques. -File name versioning (e.g. style.v2.css) -File path versioning (e.g. /v2/style.css) -Query strings (e.g. style.css?version=2) Currently I am using the query string for cache busting which is implemented by default in mvc's Bundling and Minification but the query string technique is causing performance issues, so I need to implement any of the other two technique. Need help in this regard!!!
Posted by: Umer khan | Posted on: Aug 24, 2018