title: Htaccess Redirect 301 for urls with question mark
body: <p>I need to make a 301 redirect, for about 8000 Urls, the last number of the url is random</p>
  
  <p>Url origin:
  <a href="https://example.com/fr/recherche?limit=1&amp;ajaxSearch=1&amp;id_lang=3&amp;q=730852109438" rel="nofollow noreferrer">https://example.com/fr/recherche?limit=1&amp;ajaxSearch=1&amp;id_lang=3&amp;q=730852109438</a></p>
  
  <p>Destination:
  <a href="https://example.com/fr/" rel="nofollow noreferrer">https://example.com/fr/</a></p>
  
  <p>I have tried many things but I can not make it work.</p>
  
  <p>Can somebody help me?</p>