Bluehost.com Web Hosting $6.95

Do not want my RewriteRule to return the URL parameter...

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-14-2005
Stine
 
Posts: n/a
Default Do not want my RewriteRule to return the URL parameter...

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
  #2 (permalink)  
Old 01-14-2005
igor.lobanov@gmail.com
 
Posts: n/a
Default Re: Do not want my RewriteRule to return the URL parameter...

RewriteCond %{QUERY_STRING} ^l=italian$
RewriteRule ^welcome.html /benvenuti.html? [R]
Regards, lio
http://www.template-toolkit.ru/

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0