scottpeter123 Posted January 28, 2012 Share Posted January 28, 2012 Hi, I am using PS 1.4.3. I have generated sitemap.xml via the 'Google sitemap v1.6 by PrestaShop' module. Tested the sitemap via google webmasters tools and it cam back that i had '99 errors - This URL is a duplicate of another URL in the sitemap. Please remove it and resubmit". Looking through the site map, it appears all products have a duplicate entry, see below an example of one product: Obviously i can remove theses manually and submit, but as i add products, it will mean doing it each time. Does anybody know why it is duplicating and anyway it can be stopped? Thanks. <url> <loc>http://www.mysite.co.uk/drums/152-double-drum.html </loc> <priority>0.5</priority> <lastmod>2012-01-27</lastmod> <changefreq>weekly</changefreq> <image:image> <image:loc>http://www.mysite.co.uk/388/double-drum.jpg </image:loc> <image:caption>Double Drum</image:caption> <image:title>Double Drum</image:title> </image:image> </url> <url> <loc>http://www.mysite.co.uk/drums/152-double-drum.html </loc> <priority>0.5</priority> <lastmod>2012-01-27</lastmod> <changefreq>weekly</changefreq> <image:image> <image:loc>http://www.mysite.co.uk/387/double-drum.jpg </image:loc> <image:caption>Double Drum</image:caption> <image:title>Double Drum</image:title> </image:image> </url> Link to comment Share on other sites More sharing options...
x3n0m0rph Posted January 30, 2012 Share Posted January 30, 2012 I have the same problem.. notice it last night... 302 errors.. some links are appearing like 5 times... Any help? ... Link to comment Share on other sites More sharing options...
scottpeter123 Posted January 30, 2012 Author Share Posted January 30, 2012 Just done a google site search for my site (this is the first time google has indexed it) and it is showing as duplicate URLs for the http:// version and also the https:// version. But not on all pages. Could this be the issue of the duplicates, although the site map only shows that the URL is http://. Any help would be great as i am sure this is likely to cause issues for how the site lists. Thanks Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 31, 2012 Share Posted January 31, 2012 Hi, I am using PS 1.4.3. I have generated sitemap.xml via the 'Google sitemap v1.6 by PrestaShop' module. Tested the sitemap via google webmasters tools and it cam back that i had '99 errors - This URL is a duplicate of another URL in the sitemap. Please remove it and resubmit". Looking through the site map, it appears all products have a duplicate entry, see below an example of one product: Obviously i can remove theses manually and submit, but as i add products, it will mean doing it each time. Does anybody know why it is duplicating and anyway it can be stopped? Thanks. <url> <loc>http://www.mysite.co...ouble-drum.html </loc> <priority>0.5</priority> <lastmod>2012-01-27</lastmod> <changefreq>weekly</changefreq> <image:image> <image:loc>http://www.mysite.co...double-drum.jpg </image:loc> <image:caption>Double Drum</image:caption> <image:title>Double Drum</image:title> </image:image> </url> <url> <loc>http://www.mysite.co...ouble-drum.html </loc> <priority>0.5</priority> <lastmod>2012-01-27</lastmod> <changefreq>weekly</changefreq> <image:image> <image:loc>http://www.mysite.co...double-drum.jpg </image:loc> <image:caption>Double Drum</image:caption> <image:title>Double Drum</image:title> </image:image> </url> Hello, It is happening because the module in the older versions of PrestaShop repeats the link for every image that is listed on the product page, e.g. if you have 3 images, the link is listed 3 times. We have a module for older versions of PrestaShop to correct this: http://www.cartexper...p-protocol.html Link to comment Share on other sites More sharing options...
guest* Posted January 31, 2012 Share Posted January 31, 2012 For me it has another reason. On the old version I deleted on link the EAN (14.4.0). On the new module (just upgraded to 1.4.6.2.), the URL-link has again the EAN included AND what it is new: also the product-pictures now have the EAN-link in the URL-picture Link. On old Version I hadn't this. My dublettes on sitemap.xml are referring to product pictures with and without EAN in the Link. I changed the link.php again to without EAN. Link to comment Share on other sites More sharing options...
x3n0m0rph Posted February 1, 2012 Share Posted February 1, 2012 I found a simple solution to this: Download the latest version of prestashop 2. in /modules replace gsitemap module 3. go to admin - modules tab - seo - Google Sitemap - configure 4. recreate sitemap 5. go to your webmaster tools and resend the sitemap No more errors! Link to comment Share on other sites More sharing options...
Rhobur Posted February 1, 2012 Share Posted February 1, 2012 I found a simple solution to this: Download the latest version of prestashop 2. in /modules replace gsitemap module 3. go to admin - modules tab - seo - Google Sitemap - configure 4. recreate sitemap 5. go to your webmaster tools and resend the sitemap No more errors! I have the the last version, 1.4.6.2 and still have this problem when recreating the sitemap !! Link to comment Share on other sites More sharing options...
guest* Posted February 1, 2012 Share Posted February 1, 2012 Me too. I have the latest Prestaversion running, and the problem persists. I changed the link.php and now all works fine... Link to comment Share on other sites More sharing options...
x3n0m0rph Posted February 2, 2012 Share Posted February 2, 2012 well... the latest version of the module helped to solved my problems in 3 stores with different prestashop versions .. - 1.4.2.5 - 1.4.3 - 1.4.5.1 I simply deleted the module and upload it again from the latest version of presta. Link to comment Share on other sites More sharing options...
duster Posted February 16, 2012 Share Posted February 16, 2012 thank you! This worked for me too on all 4 stores running 1.4.0 and 1.4.1. Previously, I had some image file urls replicated up to 25 times in my sitemap. I overwrote the gsitemaps module with the latest version 1.8, generated a new sitemap and it is perfect. Thanks again! Link to comment Share on other sites More sharing options...
Rhobur Posted February 16, 2012 Share Posted February 16, 2012 Use Google sitemap 1.7.2 (Presto-Changeo Fix) and choose "main image" only when generating and you're done. Link : http://www.prestashop.com/forums/topic/35047-module-google-sitemap-fix-for-multiple-languages-images-and-cms-pages/page__fromsearch__1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now