How to run a site on https://
A certificate protects the site only at https://. Without a redirect the site opens at both addresses: browsers mark the http version as "Not secure", and search engines see two identical sites. Turn on the redirect so that every visitor gets HTTPS.
Enable the redirect
- Attach a certificate first: Let's Encrypt or purchased.
- "Sites" → three dots on the site → "Edit".
- Choose the certificate in "SSL certificate". HTTPS settings appear.
- Enable "Redirect HTTP-requests to HTTPS".
- Click "Save".

Now a request to http://example.com/page gets a 301 response to https://example.com/page — the page address is kept.
Set up the CMS
- WordPress: "Settings" → "General" → "WordPress Address (URL)" and "Site Address (URL)" — with
https://. - Other CMS: the site address in the settings or in the configuration file.
- Replace links to images and scripts with
http://in the theme and content withhttps://. Otherwise the browser reports mixed content.
Common mistakes
- Endless redirect (ERR_TOO_MANY_REDIRECTS). The redirect is set in two places: in the panel and in
.htaccessor a plugin. Keep one — in the panel. - A site behind Cloudflare in SSL Flexible mode also loops. Choose Full (strict): Cloudflare.
- The redirect is on, but there is no certificate or it is self-signed — the browser shows a warning. Enable the redirect after a real certificate is issued.
- The certificate was issued without
www— an error onwww.example.com. Issue the certificate for the domain together with www.
If HSTS is available in the site settings, enable it only when HTTPS works without errors: browsers remember this rule and stop opening the site over http.