Description
This check ensures that every website on a Hostinger hosting plan redirects HTTP requests to HTTPS (Force HTTPS), so visitors always use an encrypted connection even when they type or follow an http:// link. Each website is evaluated separately.
Rationale
An SSL certificate alone does not stop visitors from using the unencrypted http:// version of the site. Without a redirect, logins and form data can still be sent in plain text, and attackers can downgrade connections. Forcing HTTPS makes every visit encrypted.
Impact
An active SSL certificate is required before HTTPS can be forced
WordPress sites must use https:// in their WordPress Address and Site Address, or redirect loops and mixed content can occur
Default Value
HTTPS is forced by default as soon as an SSL certificate is installed on a Web or Cloud hosting plan.
Pre-Requisites
Access to hPanel for the account that owns the hosting plan
An active SSL certificate on the website (see hostinger_hosting_website_ssl_installed)
Remediation
Test Plan
Log in to hPanel at https://hpanel.hostinger.com.
Go to Websites and click Dashboard next to the website.
In the sidebar, select Security → SSL.
Open the ⋮ menu next to the domain. If it offers Force HTTPS (instead of Unforce HTTPS), HTTPS is not forced and the check fails for this website.
Repeat for each website.
Implementation Steps
Log in to hPanel at https://hpanel.hostinger.com.
Go to Websites and click Dashboard next to the website.
In the sidebar, select Security → SSL.
Click the ⋮ button next to the domain or subdomain and select Force HTTPS.
Open http://<domain> in a private browser window and confirm it redirects to https://.
Backout Plan
Log in to hPanel at https://hpanel.hostinger.com.
Go to Websites and click Dashboard next to the website.
In the sidebar, select Security → SSL.
Click the ⋮ button next to the domain and select Unforce HTTPS.
Note: Unforcing HTTPS lets visitors use the unencrypted version of the site again; do this only if strictly needed.
Reference