Site inaccessiblet et https
... / Site inaccessiblet et https
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.
Question

Site inaccessiblet et https

by
icare
Created on 2020-02-11 18:51:13 (edited on 2024-09-04 13:41:52) in Erreur connexion SSL

Bonjour à tous,
en suivant quelques tutos pour passer mon site Wordpress (hébergé chez OVH) www.icare-nage.fr en https, je n'ai réussi qu'a rendre mon site indisponible sans avoir la fameuse certification...
Qu'en pensez vous?
Merci d'avance


3 Replies ( Latest reply on 2020-02-12 17:08:45 by
kyodev
)

Merci beaucoup, je viens de faire les ajustements. Du coup le site réapparait, mais pas en https, alors que j'ai coché dans les multisites la case "SSL"...

le reste est indépendant d'Ovh

en ftp, ajoute au début de ton `.htaccess:
```text
RewriteEngine On

## no-www -> www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ https://www\.%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]

## http -> https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]
```

mais tu as du contenu mixte, peut-être juste Photo25_26.jp

Replies are currently disabled for this question.