Declaring Pages

Each URL on the website should have a <url> entry which lists alternates within xhtml link tags, and the image and video resources contained within the core content of that page (boilerplate resources such as the logo and social buttons should not be placed within the XML sitemap). Each URL can contain up to 1, 000 image or video elements.

On our example website, we have two URLs: /foo.html and /foo-two.html.

Name Description
loc (required) The URL of the page.
lastmod The date the page was last modified.
changefreq How often does this page realistically change? Always, hourly, daily, weekly, monthly, yearly or never?
priority The priority of this page relative to all the other URLs on the site. This can range from 1.0 (extremely important) to 0.1 (not important at all).