Bug html
Résolu/Fermé
A voir également:
- Bug html
- Bug yahoo mail - Guide
- Editeur html - Télécharger - HTML
- Image cliquable html ✓ - Forum Réseaux sociaux
- Html download - Télécharger - HTML
- Iptv bug forum - Forum Box et Streaming vidéo
1 réponse
elgazar
Messages postés
5841
Date d'inscription
mercredi 30 octobre 2013
Statut
Membre
Dernière intervention
17 mars 2021
1 321
27 déc. 2017 à 18:33
27 déc. 2017 à 18:33
Bonjour
je crois que cela vient du fait que tu utilises deux urls différentes avec et sans www
je crois que cela vient du fait que tu utilises deux urls différentes avec et sans www
27 déc. 2017 à 20:28
1 janv. 2018 à 15:42
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tondomaine.fr$
RewriteRule ^(.*) http://www.tondomaine.fr/$1 [QSA,L,R=301]
15 janv. 2018 à 18:50
Sinon dans mon .htaccess j'ai mis :
RewriteEngine On
# RewriteCond %{SERVER_PORT} 80
# RewriteCond %{HTTP_HOST} ^https://www.amnexia.fr [NC]
# RewriteRule ^(.*)$ https://www.exemple.fr/$1 [L,R=301,NC]
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]