Web Hosting / SiteGround

How to to Redirect HTTP to HTTPS Using SiteGround's HTTPS Enforce Tool

Feb 07, 2023
4 min read
SiteGround Enforce HTTPS

HTTPS (Hypertext Transfer Protocol Secure) is the secure version of HTTP, the protocol over which data is sent between your browser and the website you are connected to.

By enforcing HTTPS, you can ensure that all communication between your website and visitors is secure, protecting sensitive information such as passwords, payment information, and personal data.

In this article, we will guide you through the process of redirecting all visitors to the HTTPS version of your website using SiteGround’s Enforce HTTPS tool.

There are two ways to do this, both of which involve activating SiteGround’s Enforce HTTPS tool:

  • From within Site Tools
  • From within the SG Optimizer plugin options within WordPress. The advantage of this method is that you can also activate their “Fix Insecure Content” option, which will automatically replace all HTTP links with HTTPS links.

Right, let’s get started.

This tutorial assumes the following:

  • That you have already created a website on SiteGround, such as WordPress.

  • That you have already installed an SSL certificate on your website. If you have not done so, follow our guide on how to install an SSL certificate on SiteGround here.

    That being said, after installing your website at SiteGround, you should be automatically issued with a free wildcard Let’s Encrypt SSL certificate.

How to Enforce HTTPS at SiteGround within Site Tools

And that’s it! You have successfully set all visitors to be redirected to the HTTPS version of your website.

How to Enforce HTTPS at SiteGround with the WordPress SG Optimizer Plugin

Another way to enforce HTTPS on your website is to activate the “HTTPS Enforce” option in your WordPress dashboard.

This has the added benefit of being able to set the “Fix Insecure Content” option. This will automatically replace all HTTP links with HTTPS links to avoid those annoying “mixed content” warnings.

This tutorial shows how easy it is to enforce HTTPS on your website with SiteGround.