Applicable to:Symptoms- The SSL support and Permanent SEO-safe 301 redirect from HTTP to HTTPS option is enabled in Domains > example.com > Hosting Settings, SSL certificate is chosen, but redirection does not work.
- Custom rewrite rule is present in web.config inside <rewrite> section at example.com domain:
<rewrite>
<rules>
<remove name="Plesk. SEO-safe redirect for http://example.com" />
<remove name="Plesk. SEO-safe redirect for https://example.com" />
</rules>
</rewrite>
- <clear /> tag can be found in web.config file:
<rewrite>
<rules>
<clear />
<!--
<rule name="Default to root" stopProcessing="true">
<match url="(.*)default.aspx" />
<action type="Redirect" url="{R:1}" />
</rule>CauseIncorrect directives in web.config
Resolution1.Log in to Plesk.
2.Go to
Domains > example.com > File Manager > httpdocs and open web.config in web editor.
3.Remove custom rewrite rule (bold) and/or remove the <clear /> tag next to <rewrite><rules> directives.