title: htaccess wordpress custom redirect
body: <p>I've a Wordpress site, I want to make a custom redirect like this :</p>
  
  <blockquote>
    <p>All urls that doesn't start by /fr/ or /en/ or /es/ have to be redirect to /fr/</p>
  </blockquote>
  
  <p>I've try this :</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^/fr(.*) [OR]
  RewriteCond %{REQUEST_URI} !^/en(.*) [OR]
  RewriteCond %{REQUEST_URI} !^/es(.*)
  RewriteRule . /fr/? [R=301,L]
  </code></pre>
  
  <p>Placed just after this :</p>
  
  <pre><code>RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  </code></pre>
  
  <p>It seems to work, but my problem is all images, css, js are impacted by this redirect, and aren't loaded.</p>
  
  <p>Is there a solution de make this redirect only on URLs, no on assets ?</p>