title: How to redirect to a URL with a query string?
body: <p>I've seen questions regarding redirecting a URL with a query string to a new URL that doesn't contain a query string.</p>
  
  <p>Unfortunately I have to do this in reverse, my knowledge of redirecting in Apache isn't good, and I can't find any information about doing this.</p>
  
  <p>So for example I need to redirect something like:</p>
  
  <p>/news/news-item</p>
  
  <p>to:</p>
  
  <p>/news?item=news-item</p>
  
  <p>The new URL structure is obviously not ideal, but this is something that is out of my control.</p>
  
  <p>I've tried:</p>
  
  <p><code>RedirectMatch 301 /news/news-item http://www.example.com/news?item=news-item</code></p>
  
  <p>But obviously this doesn't work.</p>
  
  <p>From what I understand I need to use <code>RewriteRule</code>, can somebody point me in the right direction?</p>