title: How to redirect from /:id to /:friendly_id
body: <p>Is is possible to force a 301 redirect when someone attempts to browse to a page using the old <code>/:id</code> URL, rather than than the preferred <code>/:friendly_id</code> link?  </p>
  
  <p><a href="https://webmasters.stackexchange.com/questions/58319/will-google-go-by-my-sitemap-xml-or-also-include-its-own-crawled-urls">Apparently such redirections help to tell Google that you have updated the link</a>.. so it stops displaying the old non-friendly link.</p>