Redirect and modify query string
<p>I've been struggling with some htaccess redirects. I just spent some time reading and searching on stack and couldn't get an answer that works with my scenario.</p>

<p>I want to redirect <code>abc.com/knowledge-base/QUERY</code> to
<code>xyz.com/display/GKB/New_QUERY</code>.</p>

<p>Here is what i did:</p>

<pre><code>RewriteCond %{QUERY_STRING} knowledge-base/(.*).html$ 
RewriteRule xyz.com/display/GKB/?/new_query
</code></pre>

<p>It didn't work. Any tip what I do wrong?</p>