title: Backbone.js Redirect to External Url
body: <p>I am having trouble redirecting to an external url. I want to know how I can redirect to, for example, <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> from inside my router.</p>
  
  <p>I know I can use the routers .navigate function but that redirects to a different view. How would I go about redirecting to an external url.</p>
  
  <p>Each time I try I use:</p>
  
  <pre><code>window.location = 'http://www.google.com';
  </code></pre>
  
  <p>But it complains because it is expecting a MIME type of document and the current MIME type is application/json. So how can i change the MIME type inside javascript?</p>