Redirect http to https in Plesk panel


In this article we will show you how to Redirect HTTP to HTTPS in Plesk panel, if you have an SSL certificate on your website, you can automatically forward visitors to the secure version (HTTPS) of your site for a secure connection. There is a simple tool in the panel that will help you achieve this, we’ll explain it in this lesson.

Redirect HTTP to HTTPS

  1. Login to your Plesk account.
  2. Go to Domains > > File Manager.
  3. Open web.config file, and add the following code, before </system.webServer> tag:




<rule name=”HTTP to HTTPS redirect” stopProcessing=”true”>

<match url=”(.*)” />


<add input=”{HTTPS}” pattern=”off” ignoreCase=”true” />


<action type=”Redirect” redirectType=”Permanent” url=”https://{HTTP_HOST}/{R:1}” />








Share this:
FacebookTwitterWhatsAppViberCopy LinkTelegramLinkedIn
Updated on July 6, 2020
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support