title: Remove links from Google after adding rewrite rules in Apache
body: <p>I have a website that used to use php "standard" addresses, such as <code>index.php?id=10</code>.
  Now I've configured <code>mod_rewrite</code> to have better URLs, therefore i added the rule</p>
  
  <pre><code>RewriteRule ^/([0-9]+)/?$ /index.php?id=$1 [QSA]
  </code></pre>
  
  <p>Consequently, every time someone surfs to <code>/10</code> he or she will be redirect to <code>index.php?id=10</code>.</p>
  
  <p>As the redirect is identical to the old address, Google continues to give as results the old <code>php</code>-style URLs, and some results are now duplicated when you perform a search in Google.</p>
  
  <p>I subscribed to Google Webmaster Tools and added a sitemap for the website, leaving only the <code>rewrite</code>-style addresses, but after more than two months the old URLs still appear. Is there a way to remove them from Google?</p>
  
  <p>Thanks a lot!</p>