我认为您的条件与正确的网址不匹配。试试这个:
<rule name="RedirectNonWwwToWww" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^konstdatabasen.se$" />
</conditions>
<action type="Redirect" url="https://www.konstdatabasen.se/{R:0}" redirectType="Permanent" />
</rule>