title: Removing "tag" from rewrite rule that looks like this:
body: <pre><code>RewriteRule ^tag/([^/]+)/([^/]+)/?$ search.php?search=$1&amp;tag=true&amp;from=$2 [QSA,NC,L]
  RewriteRule ^tag/([^/]+)/?$ search.php?search=$1&amp;tag=true [QSA,NC,L]
  RewriteRule ^tag/([^/]+)/page/(.+)/?$ search.php?search=$1&amp;tag=true&amp;page=$2 [QSA,NC,L]
  </code></pre>
  
  <p>The above rules seem to rewrite a dynamic url into a seo friendly url.</p>
  
  <p>the end result looks like this <code>http://www.example.com/tag/word</code></p>
  
  <p>I would like it to look like this <code>http://www.example.com/word</code></p>
  
  <p>Can anyone help me to change the existing rewrite rule correctly in order not to generate a "tag" folder?</p>