httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "topinambour ####" <otpinamb...@gmail.com>
Subject [users@httpd] mod_rewrite?
Date Mon, 19 Sep 2011 12:51:41 GMT
Hi

I have some problems about
to write rewriterule in .htaccess
I use spip and URL_propre

URL read by google as :
#URL_site/#URL_ARTICLE?page=fr
i would want to use to remove:?lang=fr and do :
/#URL_SITE/#URL_ARTICLE

Summary, it would be :
http://monsite.org/-Description-?lang=fr
to redirect to
http://monsite.org/-Description-

I write :
RewriteRule  ^\?lang=fr$    ^[^\.]$ [L,R=302]
nothing do

any ideas please

Mime
View raw message