title: Best solution to redirect a site internally
body: <p>I have a site hosted on a commercial provider and all site were developed on /portal folder.</p>
  
  <p>Until today I redirect the site using frameset:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Titulo&lt;/title&gt;
  &lt;meta name="google-site-verification" content="xxx" /&gt;
  &lt;meta http-equiv="Content-Language" content="pt-br"&gt;
  &lt;meta name="description" content="xxxx"&gt;
  &lt;/head&gt;
  &lt;FRAMESET&gt;
  &lt;FRAME SRC="http://www.test.com.br/portal" NORESIZE&gt;
  &lt;body&gt;&lt;/body&gt;
  &lt;/FRAMESET&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now, the host provider suggests me to use:</p>
  
  <pre><code>&lt;script&gt;window.location='http://www.test.com.br/portal';&lt;/script&gt;
  </code></pre>
  
  <p>Is this faster or better than the frameset approach ?
  Is Google or other search engine will continue to search for the content?</p>