title: I want to redirect old url to new rewrite url using htaccess or php
body: <p>I have a problem since i using rewrite url..</p>
  <p>MY OLD URL:
  <code>Website.com/index.php?act=appdetail&amp;appid=oWV</code></p>
  <p>New Rewrite URL
  <code>http://website.com/angry_birds_rio-appdetail-oWVi.html</code></p>
  <p>But all my old url are indexed in google and if any one come to my website its display the old URL and google also INDEXED the NEW URL. its make duplicate page on website problem.</p>
  <p>Let me know the solution</p>
  <p>My rewrite URL htaccess</p>
  <blockquote>
  <p>RewriteEngine On</p>
  <p>RewriteRule ^([^-]<em>)-([^-]</em>)-([^-]<em>)-([^-]</em>)-([^-]*).html$ index.php?appanme=$1&amp;act=$2&amp;appid=$3&amp;page=$4&amp;cat=$5 [L]</p>
  <p>RewriteRule ^([^-]<em>)-([^-]</em>)-([^-]<em>)-([^-]</em>)-([^-]<em>)-([^-]</em>).html$ index.php?appanme=$1&amp;act=$2&amp;appid=$3&amp;page=$4&amp;cat=$5&amp;sString=$5 [L]</p>
  <p>RewriteRule ^([^-]<em>)-([^-]</em>)-([^-]*).html$ index.php?appanme=$1&amp;act=$2&amp;appid=$3[L]</p>
  </blockquote>