Our site uses "subfolders" for specifying languages (e.g. www.domain.com/nl or www.domain.com/en). The default language is Dutch (nl). Currently visitors are both able to visit pages via the specified language (e.g. www.domain.com/nl) or the root domain (e.g. www.domain.com).
For SEO purposes we want to redirect (enforce) all users visiting the root to the specificed language (nl) (e.g. www.domain.com/page/1 to www.domain.com/nl/page/1).
Previous approaches (using web.config rewrite rule) led to (infinite) loops (e.g. www.domain.com/nl/nl/nl/nl/nl/nl/nl/etc.).
I know this topic Rewrite Rule to enforce default lang code in URL describes how to do it in .htaccess, but I don't have a clue how to convert it to web.config.
Thanks in advance :-)