Okay what i want to do is ...
http://domain.com/hdu79ejo
above should be redirected to
http://domain.com/client/?share=hdu79ejo
where hdu79ejo
can be any value.
But ...
http://domain.com/client
and
http://domain.com
should not be redirected at all.
Here is my code
RewriteEngine on
RewriteCond $1 !^(client)
RewriteRule ^(.*)$ /client/?share=$1 [L]
it works fine except http://domain.com
also getting redirected to http://domain.com/client/?share=
.
Thanks for help ..