bir kaç gün önceine kadar aşağıdaki webconfig rule'ları ile sorun yoktu fakat şu anda aynı rule'lar ile "too many redirect" hatası alıyorum.. yardımcı olana büyük dua edicem.. teşekkürler..
<rules>
<clear />
<rule name="Redirect to https" enabled="true" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
<add input="{URL}" matchType="Pattern" pattern="\/Admin\/(.+).(aspx)" negate="true" />
<add input="{URL}" matchType="Pattern" pattern="\/modules\/(.+).(aspx)" negate="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="CanonicalHostNameRule1">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="^www\.xxxxx\.com$" negate="true" />
</conditions>
<action type="Redirect" url="https://www.xxxxx.com/{R:1}" />
</rule>
<rule name="old-rdr" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny" trackAllCaptures="false">
<add input="{URL}" pattern="\/kategori\/(.+).(aspx)" />
<add input="{URL}" pattern="\/kategori\/(.+).(aspx)" />
<add input="{URL}" pattern="\/urun\/(.+).(aspx)" />
</conditions>
<action type="Redirect" url="{C:1}" />
</rule>
<rule name="301" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{URL}" pattern="(.+).(axd)" negate="true" />
<add input="{DB:{R:0}301}" pattern="(.+)" />
</conditions>
<action type="Redirect" url="{C:1}" appendQueryString="false" />
</rule>
<rule name="Rewrite" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{URL}" pattern="(.+).(axd)" negate="true" />
<add input="{DB:{R:0}}" pattern="(.+)" />
</conditions>
<action type="Rewrite" url="{C:0}" />
</rule>