title: Magento getProductUrl() is not returning the right url (random?)
body: <p>I am using Magento 1.5.0.1 and the getProductUrl() function used in the cross sell and up sell blocks on the product page is throwing up different URL formats.</p>
  
  <p>Either the correct url like:
  /laptop-bag.html
  Or the wrong one (well it works, but of course its not the rewrite URL):
  /catalog/product/view/id/825/s/laptop-bag/category/16/</p>
  
  <p>Sometimes both cross sell and up sell blocks return the correct URL, sometimes both use the longer version, and in some cases, one uses the correct and the other uses the long version??</p>
  
  <p>Any ideas why this is happening?</p>
  
  <p>I have already run a magento database repair, reindexed, and refreshes / flushed all caches.</p>