title: PrestaShop $link -> getProductLink($product) gives incorrect URL
body: <p>I'm generating my product links in custom ajax powered module with <code>$link -&gt; getProductLink($product)</code></p>
  
  <p>it's generating a URL like <a href="http://example.com/prestashop/2-blouse.html" rel="nofollow">http://example.com/prestashop/2-blouse.html</a> </p>
  
  <p>which is throwing an error saying </p>
  
  <blockquote>
    <p>[Debug] This page has moved Please use the following URL instead:
    <a href="http://example.com/prestashop/blouses/2-blouse.html" rel="nofollow">http://example.com/prestashop/blouses/2-blouse.html</a></p>
  </blockquote>
  
  <p>How do I avoid the same</p>
  
  <p>Thanks</p>
  
  <p>P.S: I'm using prestashop 1.6</p>