Bonjour,
J'ai configure mon htaccess qui fonctionne bien avec le CMS que j'utilise.
Le problèeme qui se pose ce que losque je crée un sous-domaine :
http://photos.hello-web.net
Quand je tape c'est url, il me retourne vers
http://www.hello-web.net/photos.hello-web.net/
Si je retire mon fichier htaccess, ca marche correctement, c'est a dire que
http://photos.hello-web.net affiche bine "test".
Je ne sais pas comment modifier mon fichier htaccess.
Pourriez-vous m'aider?
Voici mon fichier htaccess
Es-ce qu'il vous manque des info?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 RewriteEngine On RewriteBase / # Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www.hello-web\.net [NC] RewriteRule (.*) http://www.hello-web.net/$1 [R=301,L]
Merci pour votre aide
Partager