title: htaccess redirect ignore some patch
body: <p>I have two sub domain</p>
  
  <ol>
  <li>subdomain1.domain.com</li>
  <li>subdomain2.domain.com</li>
  </ol>
  
  <p>and have same root folder. I want redirect all url from subdomain1 to subdomain2 exclude some path. I config file htaccess like this</p>
  
  <pre><code>#Exclude some path
  RewriteCond %{REQUEST_URI} ^/path-one/some-link-1$ [OR]
  RewriteCond %{REQUEST_URI} ^/path-one/some-link-2$ [OR]
  RewriteCond %{REQUEST_URI} ^/path-one/some-link-3$ [OR]
  RewriteCond %{REQUEST_URI} ^/path-one/some-link-4$ [OR]
  RewriteCond %{REQUEST_URI} ^/path-one/some-link-5$
  RewriteCond %{HTTP_HOST}  ^subdomain1\.domain\.com$
  RewriteRule .* - [L]
  
  # Redirect if 
  RewriteCond %{HTTP_HOST}  ^subdomain1\.domain\.com$ [NC]
  RewriteRule ^(.*) http://subdomain2.domain.com%{REQUEST_URI} [R=301,L]
  </code></pre>
  
  <p>But when i visit url <strong>subdomain1.domain.com/path-one/some-link-1</strong>, htaccess alway redirect to url <strong>subdomain2.domain.com/index.php</strong>. If right, i dont want redirect to new url and still in  <strong>subdomain1.domain.com/path-one/some-link-1</strong>. </p>
  
  <p>So how can I do that? </p>