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.Log into the Customer Plesk Panel. 2. Click on Websites & Domains. On this page, you... Read More
1. Login to Plesk. 2. Click on FTP Access. 3. Click Add an FTP account. 4. Fill out... Read More
1. Login to Plesk. 2. Click on Hosting Settings. 3. Check the SSL/TLS Support checkbox... Read More
1. Login to Plesk Control Panel. 2. Click on the Websites & Domains tab and navigate to... Read More
Errors accessing database via SQL management studio When you connect your database with remote... Read More