Floobynooby Posted April 9, 2014 Share Posted April 9, 2014 Hi can anyone advise how to remove the /home/ from product links when generating a sitemap. The image links turn out fine but all products links have incorrect urls : - http://www.site.com/home/32-description.html there shouldn't be a /home/ within the url. Currently using version 2.3.6 (with Prestashop 1.5.4.1) and have had the problem for the past few sitemap versions. I usually take the newly generated sitemap into dreamweaver and correct all the urls but forgot the last time and had hundreds of 404 errors from google. Is there any way of adjusting the module code to prevent this from happening the next time a fresh sitemap is generated. Many Thanks. Link to comment Share on other sites More sharing options...
Floobynooby Posted April 10, 2014 Author Share Posted April 10, 2014 For anyone who needs the solution you need to delete a line from classes/Dispatcher.php https://github.com/PrestaShop/PrestaShop/commit/3607c2264fb7ba9a3dae0e173098ecc0f6b16488 There is a full discussion also here: http://www.prestashop.com/forums/topic/214855-15-friendly-urls-many-languages-and-sitemap-solution-when/page-2 Link to comment Share on other sites More sharing options...
Recommended Posts