Reputation: 535
I found my product detail page url in prestashop build by appending product id first.
From Below Docs. http://doc.prestashop.com/pages/viewpage.action?pageId=20578464
i found that my prestashop product id_product=27 becomes 27-ipod-nano-green
But in my prestashop configuration it is redirect to another url.
Link creates properly as per this docs. But when i click on it to open product detail page it redirect to another url (i think goes to find category url with the same id) and end up with 404 not found error and for some product it landing on category page.
I am using prestashop version 1.6.1.12
Please suggest me how can i solve my issue or which files are related for this changes.
Below are my current configurations:
Schema of URLs:
Route to products : {id}{manufacturer}-{rewrite}
Route to category : {id}-{rewrite}
Route to category which has the "selected_filter" attribute for the "Layered Navigation" (blocklayered) module : {id}-{rewrite}{/:selected_filters}
Route to supplier : {id}__{rewrite}
Route to manufacturer : {id}_{rewrite}
Route to CMS page : content/{id}-{rewrite}
Route to CMS category : content/category/{id}-{rewrite}
Route to modules : module/{module}{/:controller}
Route to CMS page : content/{id}-{rewrite}
Route to CMS category : content/category/{id}-{rewrite}
Route to modules : module/{module}{/:controller}
Upvotes: 0
Views: 2026
Reputation: 1273
Try with :
{category:/}{id}{-:id_product_attribute}-{rewrite}{-:manufacturer}.html
Regards
Upvotes: 0