Reputation: 138
I'm generating my product links in custom ajax powered module with $link -> getProductLink($product)
it's generating a URL like http://example.com/prestashop/2-blouse.html
which is throwing an error saying
[Debug] This page has moved Please use the following URL instead: http://example.com/prestashop/blouses/2-blouse.html
How do I avoid the same
Thanks
P.S: I'm using prestashop 1.6
Upvotes: 2
Views: 6034
Reputation: 11
In Preferences > SEO & URLs
The .htaccess file will be refreshed and now it will not show you that message.
Upvotes: 1