Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
webdev:redirections [25/04/2019 19:22] dolo |
webdev:redirections [25/04/2019 19:57] (Version actuelle) dolo |
||
---|---|---|---|
Ligne 34: | Ligne 34: | ||
# SSL/HTTPS | # SSL/HTTPS | ||
< | < | ||
- | Redirect permanent / https://sophrologie-sport.com/ | + | RewriteEngine On |
+ | RewriteCond %{HTTPS} !on | ||
+ | RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} | ||
</ | </ | ||
</ | </ | ||
+ | It's better to use a virtualhost to do that but that's the best way to do it on shared hosting : [[https:// | ||