Cloud Web-old - Redirections https pour wordpress
... / Redirections https pour w...
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

Redirections https pour wordpress

Von
PierreB41
Erstellungsdatum 2018-12-14 14:36:55 (edited on 2024-09-04 12:32:58) in Cloud Web-old

Bonjour,

Pour passer mon site en https, j'ai tenté de rajouter les instructions suivantes au .htaccess de wordpress :

RewriteCond %{SERVER_PORT} ^80$ [OR]
RewriteCond %{HTTPS} =off
RewriteRule ^(.*)$ https://monsite.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.monsite\.com [NC]
RewriteRule ^(.*)$ https://monsite.com/$1 [R=301,L]

ces instructions fonctionnent sur mon vps, mais là trop de redirections et rien ne marche ?

Comment dois-je procéder ?

Merci de votre aide !


Antworten sind derzeit für diese Frage deaktiviert.