title: Javascript redirect to same folder on different domain?
body: <p>I'm trying to redirect users from one site to another but keep the part after the domain name the same. For example:</p>
  
  <pre><code>http://www.mysite.com/this-is-a-blog-post.html
  </code></pre>
  
  <p>to</p>
  
  <pre><code>http://www.newwebsite.com/this-is-a-blog-post.html
  </code></pre>
  
  <p>Can this be done using a javascript redirect? If so, what would the code look like? I appreciate your help!</p>