FluffyCat Posted January 31, 2014 Share Posted January 31, 2014 (edited) Hi We have been on the 1.5.4.1 version for a long time now and suddenly we are not able to do Preview any more. Any product we try to preview has a long number added to it, like this: http://my-shop.com/en/mug-mr-p-kiss-5710495000137.html The product link in the shop is: http://my-shop.com/en/mug-mr-p-kiss and this is working so the product is there and the customers can see it. This however is not the worst thing. I just saw that the sitemap contains the incorrect link as well. You have the sitemap here: https://givensa.com/en_0_sitemap.xml all the new product have the strange number appended in the sitemap and end up with 404 message. Google will have a field day on that one. We have no idea what is going on here. There must be some explaination for this? I do expect something with the preview but we have been using the same version (1.5.4.1) for about 8 months and this started recently. We are happy to test any advice but we are very concerned about this behavior. Anyone has an idea? Edited February 1, 2014 by FluffyCat (see edit history) Link to comment Share on other sites More sharing options...
FluffyCat Posted January 31, 2014 Author Share Posted January 31, 2014 Investigating further, it seems as the strange number afterwards is the EAN code which we have added to some products. So ignore the previous comment about the preview, that was misleading. The thing we need to understand is why our links fails when we have the EAN13 code inserted for the products. Out Route-to-product setting is: {id}-{rewrite} so the ean13 code is not even mentioned there so it is very strange that it is added to the url. We do use a clean url module and we will ask about them as well. Again, all ideas welcome Link to comment Share on other sites More sharing options...
Dh42 Posted January 31, 2014 Share Posted January 31, 2014 Have you changed anything recently? Link to comment Share on other sites More sharing options...
Dh42 Posted January 31, 2014 Share Posted January 31, 2014 By your urls, are you using a module to take the numbers out of them? It could be a bug with the module. Link to comment Share on other sites More sharing options...
FluffyCat Posted February 1, 2014 Author Share Posted February 1, 2014 Hi Dh42 Indeed we use a clean url module. However I am not yet convinced that is the issue since the url in the store is ok and working. So all products are shown ok. The problem is that when previewing and also in the sitemap, the EAN13 code is included which is not respecting the setting in the SEO config in the backoffice. Link to comment Share on other sites More sharing options...
FluffyCat Posted February 1, 2014 Author Share Posted February 1, 2014 I have now tried to deactivate the clean url module as well and it makes no difference. It is as easy as when I add a EAN13 code to a product, Prestashop wants to use it in the URL even though the settings for the products is just: Route-to-product setting is: {id}-{rewrite} I have found some old posts about the EAN stuff but they all date back to 2010-2011 and prestashop 1.4.x. I would expect that this should not happen in 1.5.4.1 or? Link to comment Share on other sites More sharing options...
Recommended Posts