Bird
0
0

What is wrong with this XML sitemap snippet?

medium📝 Analysis Q7 of 15
SEO Fundamentals - Technical SEO Basics
What is wrong with this XML sitemap snippet?
<urlset>
  <url>
    <loc>https://example.com/page1</loc>
  </url>
  <url>
    <loc>https://example.com/page1</loc>
  </url>
</urlset>
ADuplicate URLs may cause indexing confusion
BMissing <lastmod> tag causes error
CRoot element should be <sitemap>, not <urlset>
DURLs must be relative, not absolute
Step-by-Step Solution
Solution:
  1. Step 1: Check for duplicate URLs

    The same URL appears twice, which can confuse search engines.
  2. Step 2: Validate other aspects

    <lastmod> is optional, <urlset> is correct root, absolute URLs are standard.
  3. Final Answer:

    Duplicate URLs may cause indexing confusion -> Option A
  4. Quick Check:

    Duplicate URLs = Potential indexing issues [OK]
Quick Trick: Avoid repeating URLs in sitemap [OK]
Common Mistakes:
  • Assuming lastmod is mandatory
  • Confusing root element names
  • Thinking URLs must be relative

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SEO Fundamentals Quizzes