Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Having problems with duplicate urls showing. Searched around, web solutions don't seem to apply here. No trailing slash or anything, just showing duplicate pages, only thing different is the modified date and change frequency. Some urls dont have this info at all, and others have info for both fields.
Can anyone point me in the right direction to remove the entries without modified date and change frequency?
Thanks,
Steve
Comment | File | Size | Author |
---|---|---|---|
xml issue.PNG | 34.64 KB | steve316 |
Comments
Comment #1
steve316 CreditAttribution: steve316 commentedanyone?
Comment #2
paulvantuyl CreditAttribution: paulvantuyl commentedHi, I found that I by including both Pages and the Primary Navigation, it was creating duplicate entries. I had to do a lot of customizing settings and custom inclusions for our XML to not contain duplicates. In the end I did not include the Primary Navigation.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedRe: #2
Do you really need the menu module on? I tend to use only the node module. The menu module was added to handle entries that might be added by contributed modules but typically those can be handled by the custom link module instead.
Comment #4
paulvantuyl CreditAttribution: paulvantuyl commentedGood point earnie, I had initially turned on the XML Sitemap menu and didn't notice the Custom links. I was using the menu module to include Views overrides for taxonomy that I had done, but could have done the same with the Custom links with less work. Thanks.
Comment #5
renatogHi guys. Thanks for sharing the solution. It's ways very useful.
Best,
Comment #6
renatog