title: Redirection 301 .HTACCESS with exception
body: <p>I would divide my personal blog <code>(https:__mypersonalwebsite_com</code>) made in Wordpress into two website:</p>
  
  <p>1) <code>https__mypersonalwebsite_com</code> with the homepage and other few specific pages (for ex: <code>https:__mypersonalwebsite.com/contatti</code>)</p>
  
  <p>2) <code>https:__mysecondwebsite.com</code> with all the rest of the content/pages redirected from <code>https:__mypersonalwebsite.com</code></p>
  
  <p>For do that, I have copied the <code>https:_mypersonalwebsite.com</code> into the second website <code>https://mysecondwebsite.com</code> (now I have two perfect website running)
  Then what I've done is modify the .htaccess wit the following code:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_URI} !=/contatti/
  RewriteRule ^.*$ https:_mysecondwebsite/$0 [R=301,L]
  </code></pre>
  
  <p>But doesn't work. I go to <code>https:_mypersonalwebsite.com/contatti/</code> i go directly to the <code>https:_mysecondwebsite.com</code> homepage.
  what is wrong?</p>
  
  <p>And then, what is the code to NOT redirect the homepage from <code>https:_mypersonalwebsite.com</code> to </p>
  
  <pre><code>https:_mypersonalwebsite.com
  </code></pre>