Mobile app version of vmapp.org
Login or Join
Debbie626

: 2 the same page addresses in generated sitemap? I tried different sitemap generators and they generate 2 data structures refering to the same webpage: On the beginning: <url> <loc>http://pundaquit.republika

@Debbie626

Posted in: #Sitemap #XmlSitemap

I tried different sitemap generators and they generate 2 data structures refering to the same webpage:
On the beginning:

<url>
<loc>http://pundaquit.republika.pl/</loc>

<url>
<loc>http://pundaquit.republika.pl/index.html</loc>
<priority>0.6400</priority>


I think sitemap generator should recognize main webpage in a domain and produce only one <url></url> structure.
Should I delete one of <url> </url> structure and which one? Does anyone know sites which explain this issue?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Debbie626

2 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

Since Google Webmaster Tools will give "duplicate URLs" warnings about example.com/ and example.com/index.html some tools like A1 Sitemap Generator defaults to consider it a duplicate and not include the latter URL. Anyhow, using canonical like suggested by others (or even better, a 301 HTTP permanent redirect) is the best solution.

10% popularity Vote Up Vote Down


 

@Si4351233

Your pundaquit.republika.pl/ and pundaquit.republika.pl/index.html pages are considered two unique pages to search engines. To correct this you can set a canonical attribute in your index file and Google will recognize that .pl/ is your main domain.
googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
After this remove the index.html location from your sitemap and resubmit the sitemap to Google and Bing.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme