Rediriger tout les pages et tous les sous domaines de mon si

WRInaute impliqué
Et Alors tu as une page unique? ou non

RewriteCond %{HTTP_HOST} !www\.site\.com
RewriteRule ^(.*)$ h*tp://www.site.com/$1 ou la page
 
A
Anonymous
Guest
Viens d'essayer cela ne marche pas

Cela me marque.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, email@exemple.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
 
A
Anonymous
Guest
au moment de fais ca

RewriteCond %{HTTP_HOST} !www\.site\.com
RewriteRule ^(.*)$ h*tp://www.site.com/$1 ou la page

Maintenant j'ai fais ca

ErrorDocument 404 /

Et un index.php
<? header('Location: http://www.exemple.fr/'); die(); ?>
 
Discussions similaires
Haut