Support
Connexion
Hostnasi Technologies
  • Espace client
  • Magasin
    • Tout parcourir
    • Hébergement Web
    • Email Hosting
    • SSL Certificates
    • VPS Hosting
    • Enregistrer un nom de domaine
    • Transférer un nom de domaine
  • Actualités
  • Base de connaissances
  • État du réseau
  • Affiliés
  • Contactez-nous
  • Plus
  • Espace client
    • Connexion
    • Inscription
    • Mot de passe oublié?
  • 0 Votre panier

  Catégories

SSL Certificates
6
Administration
3
Bases de données
1
DNS
1
Domains
12
Email
18
Magento
0
Opencart
0
Sécurité
1
WordPress
12

  Catégories

  Nuage de tags

#cpanel #domains #resetpassword alias cname cpanel dns Domain transfer Domains Email expiredomains externalmenu forcehttps gmail hostnasi https imap Iphone kenya mobileoutlook mx mxrecords Nameservers outlook parkeddomain password pop3 professionalemail registereddomains RenewDomains roundcube security SIGNATURE smtp spf ssl sslinstallation subdomains txt webmail websecurity whitescreenofdeath wordfence wordpress wordpresscategories wordpressfix wordpressmigration wordpresstutorial worpdress

  Assistance

Support
Actualités
Base de connaissances
Téléchargements
État du réseau
Ouvrir une demande

Forcing https (ssl) on htaccess file Imprimer

  • ssl, https, forcehttps, websecurity
  • 95

So you need to force your website to always be available via https here is a simple method

 

To force the HTTPS connection on your website, add the following lines inside the website’s .htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Cette réponse était-elle pertinente?

Articles connexes

How to force your site to redirect to https (SSL) Overview You can force your site to redirect to its secure URL by creating a configuration... How to generate a CSR code in your hostnasi cPanel account   So you are on the process of purchasing an ssl certificate for your online account then you... How to install an SSL Certificate in cPanel SSL installation via cPanel is a pretty simple process, even if you have no special technical... How to use SSL/HTTPS and to configure it to Magento ? So you want to configure SSL/HTTPS to Magento ?   Well let's begin with  Magento 1.x To... SSL certificates overview Overview Adding an SSL certificate to your domain allows it to be accessed over a secure...
« Retour

Powered by WHMCompleteSolution

  Nuage de tags

#cpanel #domains #resetpassword alias cname cpanel dns Domain transfer Domains Email expiredomains externalmenu forcehttps gmail hostnasi https imap Iphone kenya mobileoutlook mx mxrecords Nameservers outlook parkeddomain password pop3 professionalemail registereddomains RenewDomains roundcube security SIGNATURE smtp spf ssl sslinstallation subdomains txt webmail websecurity whitescreenofdeath wordfence wordpress wordpresscategories wordpressfix wordpressmigration wordpresstutorial worpdress

  Assistance

Support
Actualités
Base de connaissances
Téléchargements
État du réseau
Ouvrir une demande

Giving You Internet freedom through hosting, domains, security, & more — everything you need to be online.

Payment Method
Products & Services
  • VPS Hosting
  • SSL Certificates
  • Email Hosting
  • Web Hosting
Our Services
  • Espace client
  • Magasin
    • Tout parcourir
    • Hébergement Web
    • Email Hosting
    • SSL Certificates
    • VPS Hosting
    • Enregistrer un nom de domaine
    • Transférer un nom de domaine
  • Actualités
  • Base de connaissances
  • État du réseau
  • Affiliés
  • Contactez-nous
  • Plus
Join Our Newsletter

We'll send you news and offers.

Social Media

Copyright © 2026 Hostnasi Technologies. Tous droits réservés.


Chargement en cours...
Chargement en cours...
Choisir la langue
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Sélectionnez la devise

USD USD
TZS TZS
Ksh KES
RWF RF
£ GBP
Rs INR
CAD CAD
USH UGX
R ZAR
R$ BRL
€ EUR
₺ TRY
Rp IDR
LKR LKR
₽ RUB
PKR PKR

Générer un mot de passe

Veuillez entrer un nombre entre 8 et 64 pour la longueur du mot de passe