title: How to redirect URLs based on query string?
body: <p>I successfully mass migrated a Wordpress site to Drupal.  Unfortunately in Wordpress, the content URL's were something like www.example.org/?p=123.  My domain is still the same, but I want to do a redirect via <code>htaccess</code> as Drupal will not allow URL's to be www.example.org/?p=123.  In other words, the content does not have the same URL as it did in Wordpress.  For example, the new Drupal URL would be something like <code>www.example.org/content/MyNewPage</code></p>
  
  <p>I tried this in my .htaccess file and it does not work</p>
  
  <pre><code>Redirect 301 /\?p=375 http://www.example.org/content/MyNewPage
  </code></pre>
  
  <p>So I tried the below, but it does not work either.</p>
  
  <pre><code>Redirect 301 /\?p\=375 http://www.example.org/content/MyNewPage
  </code></pre>
  
  <p>Just as a test, I tried the below and it worked.</p>
  
  <pre><code>Redirect 301 http://www.example.org http://www.google.com
  </code></pre>
  
  <p>I made sure that my Redirect rule is at the top of the list in my .htaccess so it will be evaluated first.  How do I fix this?  </p>