How to clean up the XML sitemap of a business website


Include important URLs and check the consistency between the sitemap, redirect and canonics.
Selecting the addresses
Export the public pages that need to be indexed. Remove redirect, test pages and variants that canonics point elsewhere.
Choose the dates
Notify the last modification when it corresponds to an identifiable change in the content. If you can’t set it, leave the date absent for the URL concerned.

Check a sample
Open the representative addresses and check a 200 status, a consistent canonics and language variants. Submit the sitemap in the corresponding property.
Examples of implementation
Take a site that the old PDFs redirect and whose French and English articles have separate addresses. For ten entries from the sitemap, check their status, the language announced, the HTML link that leads to it, and the data provided.
points of attention
A sitemap does not give an indexing status. After correction, compare its canonic URLs to the pages actually browse in the available reports. If an URL is deleted, search for the cause before re-registring or submitting it.
Points to check before validating
Test and redirect URLs are deleted, language variants are mutual and present dates are verified.
Take a sample before submission
Get a commercial page, an article, a translation and a historic URL. Check the answer of each address and the link that allows you to find it on the site. A redirect should not be treated as a separate editorial page from the sitemap. Also check that the published variants correctly refer to the visitors to the corresponding content.
For a date of last modification, keep the editorial change verified. After a deployment, compare the public sitemap with the previous export to identify unintentional deletions.

OneClick Créations Digitales
Editorial team
The OneClick team helps organisations with digital transformation, combining creative and technical expertise.