Using the following code in your web.config file automatically redirects visitors to the HTTPS version of your site:
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
If you have an existing web.config file:
system.webServer (which contains rewrite)rewrite (which contains rules)rules (which contains one or more rule sections)rule section, including match, conditions, and action, inside the rules section.1. Login to Plesk then >>Subscriptions >>click on Suspended Subscription. 2. Click... Read More
To make your website visible on the Web, your website’s files and data must be stored or "hosted"... Read More
1. Go to Websites & Domains tab.2. Click on hosting settings on top.3. Click the [Change]... Read More
GZIP compression may be enabled either directly through a web.configOnce enabled, it can be... Read More
1. Login to Plesk. 2. Click on FTP Access. 3. Click Add an FTP account. 4. Fill out... Read More