title: How to rewrite the url if it does not have a prefix with .htaccess
body: <p>The page should always have the prefix 'es', 'en', or 'fr' after the main domain, if someone type a url without the prefix then it should be set  'es' by default.
  Example: </p>
  
  <pre><code>www.mypage.com/games/sports -&gt; www.mypage.com/es/games/sports
  </code></pre>
  
  <p>if it has any of the prefixes then it does not change.</p>
  
  <pre><code>www.mypage.com/en/games/sports -&gt; www.mypage.com/en/games/sports
  </code></pre>