Avatar of MohitPandit
MohitPandit
Flag for India

asked on 

Regular Expression: URL Rewrite in IIS

Hello Folks,

I would like to rewrite URL rules in IIS. Like, in business users' email, I sent a link (for dev environment), once user click on that link then, it should redirect to production site.
For e.g. (below dev link)
https://dev-website.mydomain.com/mynews/first.html
and once user will click on aforesaid link then it should redirect on below URL for all "mynews" folder/subfolder html or pages
https://prodwebsite.mydomain.com/mynews/first.html

Could you assist to write regular expression in IIS using URL Rewrite option in IIS?

Best Regards
Regular Expressions.NET Programming* iis10Microsoft IIS Web Server

Avatar of undefined
Last Comment
MohitPandit

8/22/2022 - Mon