i have an site and using the htaccess code for redirections, in that, i have url like "http://username.domainname.com/userid" and want to remove the part "userid", so that, the url will look like "http://username.domainname.com/".
i use the following code to get "http://username.domainname.com/userid" :
RewriteEngine on
RewriteBase /
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([0-9]+)$ /user_detail.php?cId=$1 [NC,L]
thanks in advance to help me.
http://username.domainname.com/?http://username.domainname.com/?