title: How to change Magento Search URL result
body: <p>i need to change the search url for magento.</p>
  
  <pre><code>How can i redirect from catalogsearch/result/?q=test to search/test
  </code></pre>
  
  <p>The rule for .htaccess is:</p>
  
  <pre><code>RewriteRule ^search/([^/]+)/?$ /catalogsearch/result/?q=$1 [QSA,P,NC]
  </code></pre>
  
  <p>I tried to change catalogsearch/result on Helper but i cannot find ?q=.</p>
  
  <p>Any help is appreciated.</p>