Bonjour,
Je cherche à rediriger toutes les pages http://www.monsite.fr/****** vers http://www.monsite.fr/
Dans mon fichier htaccess, j'ai essayé ça :
Mais ça ne fonctionne pas. Pourriez-vous m'éclairer ?
Merci
Je cherche à rediriger toutes les pages http://www.monsite.fr/****** vers http://www.monsite.fr/
Dans mon fichier htaccess, j'ai essayé ça :
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(/.*)$
RewriteRule ^(.+)/([0-9]+)/?$ http://monsite.fr/$1/ [R=301,L]
Mais ça ne fonctionne pas. Pourriez-vous m'éclairer ?
Merci