title: htaccess redirects while moving to multisite under subdomain with tld change
body: <p>I have a Wordpress website that is ranking well on www.domain.fr. I need to add english language. Fo this purpose I plan to convert the single site to WP multisite and I'd like to set www.domain.com for EN and move current FR language from www.domain.fr to fr.domain.com.</p>
  
  <p>So my first aim is to redirect all trafic for all pages from <a href="https://www.domain.fr/" rel="nofollow noreferrer">https://www.domain.fr/</a>* to <a href="https://fr.domain.com/" rel="nofollow noreferrer">https://fr.domain.com/</a>* </p>
  
  <p>Here is my htaccess</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  
  # END WordPress
  
  RewriteEngine on
  RewriteCond %{HTTP_HOST} ^www.domain.fr$
  RewriteRule ^(.*)$ https://fr.domain.com%{REQUEST_URI} [L,R=301]
  </code></pre>
  
  <p>While testing, it works fine for domain, says www.domain.fr is well redirect to fr.domain.com</p>
  
  <p>But when I try www.domain.fr/any-page/ it does not work says server return www.domain.fr/a-page/ instead of fr.domain.com/a-page/</p>
  
  <p>Any help would be appreciated</p>