This is a discussion on Do not want my RewriteRule to return the URL parameter... within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi :) I am trying to get welcome.html?l=italian rewritten into benvenuti.html by adding the folowing two lines ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi :)
I am trying to get welcome.html?l=italian rewritten into benvenuti.html by adding the folowing two lines in my .htaccess file: RewriteCond %{QUERY_STRING} ^l=italian$ RewriteRule ^welcome.html /benvenuti.html [R] It almost works... besides that I get benvenuti.html?l=italian. Does anyone know how I get rid of the language parameter? Any help is greatly appreciated <:) Thanks, Stine |
|
|||
|
RewriteCond %{QUERY_STRING} ^l=italian$
RewriteRule ^welcome.html /benvenuti.html? [R] Regards, lio http://www.template-toolkit.ru/ |