title: Redirect old sitemaps to new sitemap.xml
body: <p>I accidently had three allowed sitemap urls:</p>
  
  <pre><code>domain.com/sitemap.php
  domain.com/sitemap
  domain.com/sitemap.xml
  </code></pre>
  
  <p>How can I redirect them all to <code>domain.com/sitemap.xml</code>, the sitemap file is <code>sitemap.php</code>?</p>
  
  <p>I've been trying a few different ones but they seem to result in constant loops between the <code>.xml</code> and <code>.php</code> extensions and it breaks ...</p>
  
  <pre><code>#Sitemap
  RewriteRule ^sitemap.xml sitemap.php [L, R=301]
  RewriteRule ^sitemap$ http://domain.com/sitemap.xml [R=301]  
  </code></pre>