0
I do not have much knowledge in regular expressions and I am trying to identify if when accessing the site the user typed www before the name of the site.
In case he hasn’t typed, I have to add. But I’m having a little trouble doing this on the Asp web config. I tried something like this:
<rule name="teste">
<match url="^([^w]\w*)">;
<action type="Rewrite" url="www.{R:1}">
</rule>