Hébergements Web - Redirection http et www à 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.
Frage

Redirection http et www à https

Von
SouadM2
Erstellungsdatum 2022-01-05 07:59:19 (edited on 2024-09-04 10:48:57) in Hébergements Web

Bonjour,

J'ai installé un Certificat SSL pour mon site web qui fonctionne correctement ( https://lespeintrescharentais.com/index.php )
je souhaite rediriger HTTP et www à HTTPS sachant que je ne suis pas sous WordPress ni rien du tout, j'ai tout fait manuellement; mon dossier www était vierge (j'ai pas de fichier .htaccess)

Merci


1 Antwort ( Latest reply on 2022-01-05 12:59:28 Von
SouadM2
)

```text


j'ai tout fait manuellement


Bonjour,
Suivez le guide
https://docs.ovh.com/fr/hosting/htaccess-reecriture-url-mod-rewrite/
et attention de créer le fichier .htaccess dans un jeu de caractères simple (ANSI ou ASCII) , certains éditeurs de texte vous créent parfois du UTF-8 si vous n'y prenez pas garde) ```

Fonctionne trés bien, merci.