.htaccess problem...please provide some hints.
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 <lubosrendek@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®istration
>
> 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTinSLk_eSgEZmfdRMT6r6CbRePkm-A@mail.gmail.com">http://lists.debian.org/BANLkTinSLk_eSgEZmfdRMT6r6CbRePkm-A@mail.gmail.com
|