sitemap.xml duplicate urls
« on: December 24, 2015, 04:02:05 PM »
Hi
My sitemap.xml appears to have duplicate urls.

Here is an example
  <url>
       <loc>http://www.mywebsite.co.uk/how-to-buy</loc>
       <lastmod>2015-12-18T02:08:33+00:00</lastmod>
       <changefreq>weekly</changefreq>
       <priority>0.4000</priority>
  </url>

  <url>
       <loc>http://www.mywebsite.co.uk/how-to-buy/</loc>
       <lastmod>2015-12-18T02:08:33+00:00</lastmod>
       <changefreq>weekly</changefreq>
       <priority>0.3200</priority>
  </url>

Any idea why and what I need to do to stop it?

Dennis
Re: sitemap.xml duplicate urls
« Reply #1 on: December 25, 2015, 08:40:57 AM »
Hello,

the second one has an ending slash character while the first one doesn't have it. You should make sure that all links are the same (either with or without slash).
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.