Defined sitemap contains incorrect schema

Rule from seo under content category

What is a trooper!

we have submitted your edit to the community for review! We'll review and make it live on the site in the next few hours, the internet thanks you :).

Browse another section of the knowledge base



Suggest an edit

Cancel

This rule has no content... yet.

Add content to this rule

Or just browse to view rules that have content



 

Sitemaps (although not that widely used anymore but still a valid standard) allow site owners to give search engines lists of URLs that might be hard to find while doing a normal crawl of the website.

These sitemaps must be an XML file on the root of the site, namely /sitemap.xml that conform to the standard laid out by Sitemaps XML format.

Valid sitemaps would appear as follows (for an example):

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

   <url>

      <loc>http://www.example.com/</loc>

      <lastmod>2005-01-01</lastmod>

      <changefreq>monthly</changefreq>

      <priority>0.8</priority>

   </url>

   <url>

      <loc>http://www.example.com/</loc>

      <lastmod>2005-01-01</lastmod>

      <changefreq>monthly</changefreq>

      <priority>0.8</priority>

   </url>

</urlset> 

with the following options, that are either required or optional:

  • loc (required) - The absolute url for the page that is intended to be crawled
  • lastmod (optional) - The last modified date of this url in the format YYYY-MM-DD, search engines may or may not use this property as per their own discretion.
  • changefreq (optional) - Gives search engines a hint as to how frequently this page is updated, possible values include: ** always - Indicates document that change everytime they are accessed ** hourly - Indicates documents could be changed every hour ** daily - Indicates documents could be changed every day ** weekly - Indicates documents could be changed every weekly ** monthly - Indicates documents could be changed every monthly ** yearly - Indicates documents could be changed every yearly ** never - Indicates documents that are for archival more than realtime / active data
  • priority (optional) - Hints at how important a page is to be displayed when showing search results, this property expects a decimal number between 0.0 and 1.0

How do I fix this ?

Ensure the schema of your page matches the standard as defined at Sitemaps XML format, fixing any issues listed on a per case basis.

Resources

Browse another section of the knowledge base



Signup icon
Ready to see how well your site scores?

Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.

Sign up to get started