Rewrite htaccess rule : hide the main url and call it on another url
<p>I want to rewrite the URL to achieve this.</p>

<p><a href="http://example.com/testcompany/login" rel="nofollow">http://example.com/testcompany/login</a></p>

<p>should call to</p>

<p><a href="http://example.com/u/testcompany/login" rel="nofollow">http://example.com/u/testcompany/login</a></p>

<p>I tried like as below </p>

<pre><code>RewriteRule ^([a-zA-Z0-9_=-]+)/login/{0,1}$      /u/$1/login
</code></pre>

<p>but it's not working.</p>

<p>Please let me how I can achieve this.</p>