SOLVED:

If someone reads this post,  here is how I solved my problem:

RewriteEngine On
RewriteCond %{QUERY_STRING} lang=
RewriteRule (.*) ? [R=302,L]

lubos

On Tue, Jun 21, 2011 at 3:54 PM, Lubos Rendek <lubosren...@gmail.com> wrote:
> Hi guys,
>
> I'm unable to get the right redirection using .htaccess file. What I
> have is this
>
> URL http://example.com/?lang=ar&;
> or
> http://example.com/?lang=ar&registration
>
> and I would like this to be redirected to http://example.com/ .
>
> In fact I would like to have all URL's which contain "lang=" to be
> redirected to http://example.com .
>
> any hints?
>
> thank you
>
> lubos
>



-- 
http://www.linuxconfig.org
http://jobs.linuxcareer.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinslk_esgezmfdrmt6r6cbrepk...@mail.gmail.com

Reply via email to