title: Detect language of browser -> Redirect one subpage to detected language version. How to do it in htaccess?
body: <p>I have a calendar to book reservations. After fulfilling the form calendar is redirecting user to success page. It redirects user to same default language no matter what (in settings of plugi I chose specific page). I want to write redirect in htaccess which works like this:
  Detect browser language
  Redirect from <a href="http://www.domain.com/success/" rel="nofollow noreferrer">www.domain.com/success/</a> to <a href="http://www.domain.com/en/success-en/" rel="nofollow noreferrer">www.domain.com/en/success-en/</a></p>
  <p>I tried sth like this but does not seem to work:</p>
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP:Accept-Language} ^en [NC]
  RewriteRule ^success/?$ $1//en/success-en/$2 [R=301,L]
  </code></pre>