title: codeigniter url routing with query string
body: <p>I have 2 url in my project</p>
  
  <p><a href="http://example.com/one.html" rel="nofollow noreferrer">http://example.com/one.html</a></p>
  
  <p><a href="http://example.com/one.html?param1=value&amp;param2=value" rel="nofollow noreferrer">http://example.com/one.html?param1=value&amp;param2=value</a></p>
  
  <p>In route file I have rules as below</p>
  
  <pre><code>$route['search/one?(:any)'] = 'advance_search/books';
  $route['search/one'] = 'advance_search/index';
  </code></pre>
  
  <p>when I call 2nd url with query string it still call index method. any one help to fix what is wrong.</p>