#33998: Use alternates and i18n generate duplicated URLs in the sitemap
-------------------------------------+-------------------------------------
     Reporter:  brenosss             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.sitemaps     |                  Version:  4.0
     Severity:  Normal               |               Resolution:
     Keywords:  sitemap, i18n,       |             Triage Stage:
  alternates                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Florian Demmer):

 Thank you for your report, but it is my understanding that the result you
 expect would not be correct. Each translation of a page needs a separate
 `url` entry.

 Here is an example showing the explicit listing of all language "pages" by
 themselves with their alternates including itself:
 https://developers.google.com/search/docs/advanced/crawling/localized-
 versions#sitemap

 Do you have any references, that support your expectation?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33998#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070183230e1499-492e50cd-0252-43e8-bb4a-1c9f5ad712d6-000000%40eu-central-1.amazonses.com.

Reply via email to