Erreur connexion SSL - Comment sécuriser mon site internet ?
... / Comment sécuriser mon sit...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Comment sécuriser mon site internet ?

Von
DavidF41
Erstellungsdatum 2021-02-18 20:39:32 (edited on 2024-09-04 11:34:23) in Erreur connexion SSL

Bonsoir à tous,

J'aimerai savoir comment sécuriser son site internet en "HTTPS" ?

J'ai actualisé mon certificat SSL qui est activé:

image

Les SSL dans "Multisites" sont aussi activés (sauf le premier):

image

Il y a-t'il une autre manip à faire ?

Merci d'avance de votre aide.


2 Antworten ( Latest reply on 2021-02-18 22:48:51 Von
DavidF41
)

Bon pour :
* https://theposture.fr
* https://www.theposture.fr


Problème pour http://theposture.fr qui devrait être renvoyé sur **https**


**Donc :**

_Au préalable, avant toute modification faire une sauvegarde du fichier .htaccess d'origine._
_Ce fichier **/www/.htaccess** est créé automatiquement lors de l'installation de WordPress._

* Transférez le sur votre PC,
* Faites une copie de sauvegarde.
* Avec le logiciel **BLOCNOTE** éditez ce fichier **.htaccess**
* Ajoutez au tout début les 4 lignes citées plus bas.
* Après modification, renvoyez-le sur votre hébergement.

En utilisant un outil FTP ( FILEZILLA par exemple) :,
Après avoir sauvegardé le fichier, déjà mettre au tout début de **/www/.htaccess** :
> RewriteEngine On
> ## http -> https
> RewriteCond %{HTTPS} off
> RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]

Ok ça marche, merci du conseil !

Antworten sind derzeit für diese Frage deaktiviert.