I will like to change a url from
http://www.mysite.com/doc1/doc2/index.php?name=username
to
http://www.mysite.com/user
I have tried using htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]
RewriteRule ^/[_a-z0-9-]+(\.[_a-z0-9-]+)$/doc1/doc2/ index.php?name=$1
But i seem stuck. Any help will be appreciated. been on google for about 7 hours