technobuzz
01/01/2009, 14h15
Bonjour et bonne année à tous !
Je galère depuis 2 jours sur un sujet qui semble simple.
J'ai changé ma plateforme pour passer de Dotclear à Wordpress.
J'ai besoin de rediriger mes URL de
tag
ancien => http://www.technobuzz.fr/index.php?tag/archos
nouveau => http://www.technobuzz.fr/v2/tag/archos/
Mois
ancien => http://www.technobuzz.fr/index.php?2008/12
nouveau => http://www.technobuzz.fr/v2/2008/12/
Article
ancien => http://www.technobuzz.fr/index.php?enceintes-altec-lansing-fx2020-expressionist-classic
nouveau => http://www.technobuzz.fr/v2/enceintes-altec-lansing-fx2020-expressionist-classic
categorie
ancien => http://www.technobuzz.fr/index.php?photo
nouveau => http://www.technobuzz.fr/v2/category/photo/
au global sauf categorie :
http://www.technobuzz.fr/index.php?
doit devenir
http://www.technobuzz.fr/v2/
Voici le code testé dans le .htaccess sans succés :
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/index.php$
RewriteRule .* - [L]
RewriteRule ^.*$ %{QUERY_STRING}
RewriteCond %{HTTP_HOST} !^www.technobuzz.fr/index.php?$ [NC]
RewriteRule ^ http://www.technobuzz.fr/v2/ [R=301]
Si quelqu'un peut m'aider...
Merci !
Je galère depuis 2 jours sur un sujet qui semble simple.
J'ai changé ma plateforme pour passer de Dotclear à Wordpress.
J'ai besoin de rediriger mes URL de
tag
ancien => http://www.technobuzz.fr/index.php?tag/archos
nouveau => http://www.technobuzz.fr/v2/tag/archos/
Mois
ancien => http://www.technobuzz.fr/index.php?2008/12
nouveau => http://www.technobuzz.fr/v2/2008/12/
Article
ancien => http://www.technobuzz.fr/index.php?enceintes-altec-lansing-fx2020-expressionist-classic
nouveau => http://www.technobuzz.fr/v2/enceintes-altec-lansing-fx2020-expressionist-classic
categorie
ancien => http://www.technobuzz.fr/index.php?photo
nouveau => http://www.technobuzz.fr/v2/category/photo/
au global sauf categorie :
http://www.technobuzz.fr/index.php?
doit devenir
http://www.technobuzz.fr/v2/
Voici le code testé dans le .htaccess sans succés :
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/index.php$
RewriteRule .* - [L]
RewriteRule ^.*$ %{QUERY_STRING}
RewriteCond %{HTTP_HOST} !^www.technobuzz.fr/index.php?$ [NC]
RewriteRule ^ http://www.technobuzz.fr/v2/ [R=301]
Si quelqu'un peut m'aider...
Merci !