Rhobur Posted January 10, 2013 Share Posted January 10, 2013 (edited) Hi, I have discovered a few products which have wrong URL's like http://www.caprice-s...r-ger20207.html instead of http://www.caprice-s...r-ger20207.html like all the other products in this category have. The same issue with other categories too. I cannot figure it out! How does the majority of the products in the category have correct URL but a few of them don't ? Regards, EDIT: I have set the home category having the id = 1 to non active. Now I get error 302 moved temporarely. It must be something with the URL construction by the 1.5.3.1 version. Apparently more and more products appear with /home/ instead of their normal category. I have checked the DB tables containing the association product->category and for the above example the association is correct with the /gerstner/ id not the /home/ id as it appears in the rewritten URL!! EDIT 2: This is crazy! More and more URL's are daily rewritten with home/ category instead of their normal category!! They all are slowly rewritten to domain.com/home/product.html instead of domain.com/real_category/product.html Is my Prestashop set on auto destruct ? EDIT 3 : looking into ps_product I have found that somehow during upgrade some products id_category_default has been changed from 29 to 1 (which is home's id). I have corrected it and now I wonder how could I force the URL to be correctly re written since I don't have yet access to the BO ! SOLVED: I have addressed this issue by setting where needed the default category to the same one as the product was associated. In my old 1.4.8.2 version a lot of products were besides their own categories set in home too in order to be displayed randomly in homefeatured module. Apparently this is not the same in 1.5.3.1 Edited January 14, 2013 by Caprice (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts