Avatar of HelderConde

asked on 

IIS 7.5 URLRewrite to add a suffix. How?


I'm using IIS 7.5 and I need to use URLRewrite module to force the "https://www." suffix to any URLs that don't have that.

For example:

a. domain.com should become https://www.domain.com

b. domain.com/abc/xyz.aspx should become https://www.domain.com/abc/xyz.aspx

c. https://domain.com should become https://www.domain.com

d. https://domain.com/abc/xyz.aspx should become https://www.domain.com/abc/xyz.aspx

I'm having a hard time writing that script. Any helps are greatly appreciated.

Thanks in advance,

Helder Conde
Microsoft IIS Web ServerSSL / HTTPSWeb Servers

Avatar of undefined
Last Comment

8/22/2022 - Mon