title: .htaccess redirection, URLs with parameters
body: <p>I have a problem with creation a redirect 301 through htaccess for pages with parameters.
  I want to redirect all pages in one directory to the homepage of another (the new URLs are without parameters and have a different structure so I just want to redirect to the main section)</p>
  
  <p>It means - I have now </p>
  
  <pre><code>http://www.mysite.com/old_directory/page.php?s=12345
  </code></pre>
  
  <p>etc... and all of them I want to redirect to</p>
  
  <pre><code>http://www.mysite.com/new_directory/
  </code></pre>
  
  <p>How should I modify this redirect? Its Apache server and Wordpress platform.</p>