<?xml version="1.0" encoding="UTF-8"?>
<!--
  sitemap.xml — kschemistry.lk

  SEO-01c (2026-08-20). The previous version listed /ranks.php, which does not
  exist and returns 404 — a dead URL in a sitemap costs crawl budget and is a
  quality signal against the whole file. It also omitted /results.php, a real
  public page.

  Only pages that actually return 200 to a crawler are listed. Deliberately
  excluded:
    /contact.php   a POST-only mail handler; it answers GET with 403 by design
    /lms.php       the portal entry point — every route beyond it needs a login
    /admin/, /student/, /pro/   private, and disallowed in robots.txt

  lastmod must be the date the CONTENT changed, not the date this file was
  edited. Bumping every entry on each deploy teaches crawlers the dates mean
  nothing, and they stop being used for scheduling.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

    <!-- Homepage — the page that should rank for "KS Chemistry" and
         "A/L chemistry class Sri Lanka" -->
    <url>
        <loc>https://kschemistry.lk/</loc>
        <lastmod>2026-08-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>1.0</priority>
    </url>

    <!-- Results: updated after each release, and the page most likely to be
         searched for by name -->
    <url>
        <loc>https://kschemistry.lk/results.php</loc>
        <lastmod>2026-08-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://kschemistry.lk/gallery.php</loc>
        <lastmod>2026-08-20</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://kschemistry.lk/privacy-policy.php</loc>
        <lastmod>2026-08-20</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.3</priority>
    </url>

</urlset>
