Browse Source

Added www redirect to project

master
Teknikode 7 months ago
parent
commit
0521c99c2e
  1. 16
      Teknik/web.config

16
Teknik/web.config

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to WWW" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^teknik.io$" />
</conditions>
<action type="Redirect" url="https://www.teknik.io/{R:0}" redirectType="Temporary" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Loading…
Cancel
Save