This question already has an answer here:
I have the following in my .htaccess file:
<Directory /home/eamorr/sites/example.com/www> Options Indexes FollowSymLinks MultiViews Options -Indexes AllowOverride all Order allow,deny allow from all RewriteEngine on RewriteRule ^([^/.]+)/?$ index.php?uname=$1 [R,L] </Directory>
When I go to http://example.com/Eamorr, http://example.com/home/eamorr/sites/example.com/www/index.php?uname=Eamorr appears in the address bar!
But I want http://example.com/index.php?uname=Eamorr to appear in the address bar!!!