title: Zend framework _redirect url stays the same
body: <p>I'm trying to redirect with Zend framework but something really strange happens what I just can't understand.</p>
  
  <p>At first you are at <code>token.phtml</code>, the <code>loginform</code> action looks like this:</p>
  
  <pre><code>&lt;?php print $this-&gt;url(array('controller' =&gt; 'login', 'action' =&gt; 'login'));?&gt;"
  </code></pre>
  
  <p>In the <code>loginAction</code> I'm checking if a user exists or not. When an user is not found I want it to stay at <code>token.phtml</code> so I do this:</p>
  
  <pre><code>$this-&gt;_redirect('/login/token');
  </code></pre>
  
  <p>But the URL changes to the URL like you where logged in also if I do view page source in Firefox it shows the source of the logged on page.</p>
  
  <p>But it does go to <code>token.phtml</code> because it outputs the <code>&lt;div&gt;</code>'s and everything just fine.</p>