title: Opencart Search page as SEO url
body: <p>Trying to get my search results page SEO-friendly .. seems so basic, yet my tags rewrite rule is conflicting it.</p>
  
  <p>(Which also uses the <code>product/search</code> router) -- disabling the tags rewrite, search still doesn't seem to work properly.. it shows whatever it wants, even if I search a nonexistent item. (This behavior doesn't occur under the normal index.php?route=product/search URL)</p>
  
  <p>.htaccess:</p>
  
  <pre><code>RewriteRule ^tags/([^/]*)$ index.php?route=product/search&amp;tag=%{QUERY_STRING} [L]
  RewriteRule ^search/([^/]*)$ index.php?route=product/search&amp;search=%{QUERY_STRING} [L]
  </code></pre>
  
  <p>catalog/controller/startup/seo_url.php:</p>
  
  <pre><code>                    } elseif ($data['route'] == 'product/search' &amp;&amp; $key == 'tag') {
  
                      $url .= '/tags/' . str_replace(' ','-',$value);
  
                      unset($data[$key]);
  
                  } elseif ($data['route'] == 'product/search' &amp;&amp; $key !== 'tag') {
  
                      $url .= '/search/' . str_replace(' ','-',$value);
  
                      unset($data[$key]);
                      //....
  </code></pre>
  
  <p>Is there any way to rewrite both of these routes without choosing one or the other?</p>
  
  <p>Using Opencart 2.3.0</p>