Commit 9650925 1 parent f3c926f commit 9650925 Copy full SHA for 9650925
File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 38
38
</system .net>
39
39
<system .web>
40
40
<authentication mode =" None" />
41
- <compilation debug = " true " targetFramework =" 4.6.1" />
41
+ <compilation targetFramework =" 4.6.1" />
42
42
<httpRuntime targetFramework =" 4.6.1" />
43
43
</system .web>
44
44
<system .webServer>
60
60
<rewrite >
61
61
<rules >
62
62
<clear />
63
- <rule name =" Redirect to https " stopProcessing =" true" enabled = " false " >
63
+ <rule name =" www " stopProcessing =" true" >
64
64
<match url =" (.*)" />
65
+ <conditions >
66
+ <add input =" {HTTP_HOST}" pattern =" ^forcrowd.org$" />
67
+ </conditions >
68
+ <action type =" Redirect" url =" https://www.forcrowd.org/{R:0}" redirectType =" Permanent" />
69
+ </rule >
70
+ <rule name =" https" stopProcessing =" true" >
71
+ <match url =" .*" />
65
72
<conditions >
66
73
<add input =" {HTTPS}" pattern =" off" ignoreCase =" true" />
67
74
</conditions >
68
- <action type =" Redirect" url =" https://{HTTP_HOST}{REQUEST_URI}" redirectType =" Temporary " appendQueryString =" false" />
75
+ <action type =" Redirect" url =" https://{HTTP_HOST}{REQUEST_URI}" redirectType =" Permanent " appendQueryString =" false" />
69
76
</rule >
70
77
</rules >
71
78
</rewrite >
You can’t perform that action at this time.
0 commit comments