title: Redirect www.example.com/some-path/example/ to www.example.com/some-path/?ABC=123
body: <p>I'm trying to redirect a path like this: from <code>www.example.com/some-path/sg/</code> to <code>www.example.com/some-path/</code></p>
  <p>But I need some way of identifying this traffic such a parameter, ideally: <code>www.example.com/some-path/?ls=sg</code>. Is this possible using htaccess/mod_rewrite?</p>
  <p>What I have tried is:</p>
  <pre><code>RedirectMatch 301 /sg/(.*) /$1?ls=SG7
  </code></pre>