Bonjour
J'ais pourtant recherché sur le forum mais je n'ais pas trouvé.
Donc je voudrais interdire http://exemple.com/dossier/ et obliger http://www.exemple.com/dossier/
Voici mon .htacess actuel de /dossier/
php_value magic_quotes_gpc "1"
php_value register_globals "0"
RewriteEngine on
RewriteRule ^annonce-([a-zA-Z0-9+]+)-([0-9]+).html$ detail.php?catname=$1&id=$2 [L]
RewriteRule ^annonces-([a-zA-Z0-9+]+)-([0-9]+).html$ index.php?catname=$1&catid=$2 [L]
RewriteRule ^annonces-rubrique-([a-zA-Z0-9+]+)-([0-9]+).html$ index.php?catname=$1&catid=$2 [L]
RewriteRule ^annonces-rubrique-([a-zA-Z0-9+]+)-([0-9]+).html$ detail.php?catname=$1&catid=$2 [L]
D'avance merci
J'ais pourtant recherché sur le forum mais je n'ais pas trouvé.
Donc je voudrais interdire http://exemple.com/dossier/ et obliger http://www.exemple.com/dossier/
Voici mon .htacess actuel de /dossier/
php_value magic_quotes_gpc "1"
php_value register_globals "0"
RewriteEngine on
RewriteRule ^annonce-([a-zA-Z0-9+]+)-([0-9]+).html$ detail.php?catname=$1&id=$2 [L]
RewriteRule ^annonces-([a-zA-Z0-9+]+)-([0-9]+).html$ index.php?catname=$1&catid=$2 [L]
RewriteRule ^annonces-rubrique-([a-zA-Z0-9+]+)-([0-9]+).html$ index.php?catname=$1&catid=$2 [L]
RewriteRule ^annonces-rubrique-([a-zA-Z0-9+]+)-([0-9]+).html$ detail.php?catname=$1&catid=$2 [L]
D'avance merci