Bird
0
0

Identify the error in this XML sitemap snippet:

medium📝 Analysis Q14 of 15
SEO Fundamentals - Technical SEO Basics
Identify the error in this XML sitemap snippet:
<urlset>
  <url>
    <loc>https://example.com/home</loc>
    <lastmod>2024-06-31</lastmod>
  </url>
</urlset>
AThe <loc> tag should be <location>
BMissing closing tag for <urlset>
CThe date in <lastmod> is invalid
DThe URL is missing http://
Step-by-Step Solution
Solution:
  1. Step 1: Check the date format in

    The date '2024-06-31' is invalid because June has only 30 days.
  2. Step 2: Verify other tags and URL format

    All tags are properly closed, is correct, and https:// is valid URL scheme.
  3. Final Answer:

    The date in <lastmod> is invalid -> Option C
  4. Quick Check:

    Invalid date in lastmod tag [OK]
Quick Trick: Check date validity in tag [OK]
Common Mistakes:
  • Assuming must be
  • Ignoring invalid date format
  • Thinking URL must start with http:// only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SEO Fundamentals Quizzes