Once SSL is active, you want everyone to use the secure https version of your site. Forcing HTTPS keeps connections encrypted, shows the padlock, and helps SEO. This guide explains how in cPanel.
Commencez par vérifier que le protocole SSL est activé. #
Make sure a valid certificate is installed (Disoh includes free AutoSSL). Forcing HTTPS without one causes security warnings.
Option 1: The Domains tool #
- Connectez-vous à cPanel.
- Ouvrir Domaines in the Domains section.
- Find your domain and toggle Force HTTPS Redirect on.
Option 2 : WordPress #
Set both the WordPress and Site Address to https under Paramètres > Général, et utilisez un plugin ou un paramètre pour forcer l'utilisation du protocole HTTPS sur l'ensemble du site.
Option 3: .htaccess #
For other sites, add a redirect rule in .htaccess that sends http to https. Support can supply the exact rule.
Après avoir activé #
- Visit with http and confirm it redirects to https.
- Check for the padlock and no warnings.
- Fix mixed content by updating links to https.
Dépannage #
- Boucle de redirection : avoid forcing HTTPS in two places at once.
- Avertissement de sécurité : confirm the certificate is valid.
Besoin d'aide ? #
If HTTPS will not force correctly, our support team can set it up over live chat.