How to Redirect HTTP to HTTPS

Once your site has an SSL certificate, you want every visitor to land on the secure version. A redirect from HTTP to HTTPS sends anyone who types the plain address straight to the encrypted one, so the padlock always shows and search engines index a single, secure address. You can set this up in a few ways, and none of them need you to touch code by hand. Every JetHost hosting plan includes a free SSL certificate issued automatically, so the certificate side is already handled.

Why force HTTPS

Without a redirect, your site answers on both the plain and the secure address, and visitors can end up on the unencrypted one. That shows a “Not secure” label, splits your search ranking across two versions, and leaves form data unprotected. Forcing HTTPS fixes all three at once: one address, always encrypted.

Set a redirect in cPanel

The simplest route is the Domains tool in cPanel. Open it, find your domain in the list, and turn on Force HTTPS Redirect. cPanel writes the rule to your site’s configuration file for you, so there is nothing to type and nothing to break. The change takes effect straight away.

Use your caching or SEO plugin

Many WordPress plugins can force HTTPS with one switch. In a caching plugin such as LiteSpeed Cache, or an SSL helper plugin, look for an option named Force HTTPS or SSL and enable it. The plugin handles the redirect and often fixes insecure links at the same time. Use only one method so the rules do not fight each other.

Update your WordPress address settings

In the WordPress dashboard, go to Settings → General and make sure both WordPress Address and Site Address begin with https. This tells WordPress to build every internal link securely, which supports the redirect you set above. Save, then log in again if prompted.

Verify the padlock

Open your site in a fresh browser tab and type the plain address without the s. It should jump to the secure version and show a closed padlock next to the address. Check a couple of inner pages too. If the padlock shows a warning, you likely have mixed content – images or scripts still loading over HTTP – which you can clear in your plugin or theme settings.

On JetHost hosting

On JetHost shared hosting, AutoSSL issues and renews a free Let’s Encrypt certificate for you, so you can turn on the redirect as soon as your site is live. The Force HTTPS Redirect switch in cPanel is the quickest option, and it pairs well with LiteSpeed Cache already included on your plan. Need help choosing? See the benefits of SSL.

JetHost Experts Tip

Pick one place to force HTTPS and stick with it. A cPanel redirect and a plugin redirect both running at once can send the browser in a loop, so enable one, test it, and leave the other switched off.

Frequently asked questions

Do I need an SSL certificate before I redirect?

Yes. The secure address only works once a valid certificate is in place. On JetHost, AutoSSL issues one for you, so you can turn on the redirect as soon as the certificate shows as active.

Will the redirect hurt my search ranking?

No, it helps. A single secure address stops your ranking being split across two versions, and search engines treat a permanent HTTP to HTTPS redirect as the correct, lasting move.

Why does my browser say too many redirects?

That usually means two redirect rules are running at once, or a CDN and your server both force HTTPS. Turn off one of them, clear your cache, and the loop clears.

New Hosting Plan with 80% OFF

Upgrade your website’s home without the heavy bill. Get new hosting plan with a huge 80% discount. Get free SSL, email accounts, and a control panel to manage your site. Enjoy fast performance, secure environment, and 24/7 support – all in one affordable package.

Need more help?

Still stuck on a site you host with us? Open a ticket through Client Area → Support Tickets and we’ll set the redirect up and confirm the padlock for you.