<?xml version="1.0" encoding="UTF-8"?>
<!--
  portraitor.ai sitemap

  Repo-managed: lives at public/sitemap.xml, deploys to the domain root.
  Every URL below is the canonical clean form (https, no www, no .php),
  matching each page's <link rel="canonical">. Verified against the codebase:
  blog canonicals are built as {app_url}/blog/{slug} in partials/_article.php.

  MAINTENANCE
  - Adding a page: copy a <url> block, set the address and the real date.
  - <lastmod> = the date of the last genuine content change; get it from
    git log (author date, short format) for the page's file. Never bump it
    to look fresh. (XML comments cannot contain double hyphens, hence no
    literal git flags here.)
  - ONLY public URLs. Never list: /api/*, /pay/*, /admin, redirects (/faq is
    a 301 to /#faq - that is why it is not here), or anything that 404s.
  - There is no /blog/ index page; do not add one here unless it exists.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- Homepage. The most important URL on the domain. -->
  <url>
    <loc>https://portraitor.ai/</loc>
    <lastmod>2026-09-06</lastmod>
    <priority>1.0</priority>
  </url>

  <!-- Blog articles -->
  <url>
    <loc>https://portraitor.ai/blog/what-chatgpt-knows-about-you</loc>
    <lastmod>2026-09-05</lastmod>
  </url>

  <url>
    <loc>https://portraitor.ai/blog/what-your-texts-sound-like</loc>
    <lastmod>2026-09-05</lastmod>
  </url>

  <url>
    <loc>https://portraitor.ai/blog/how-to-export-telegram-chat</loc>
    <lastmod>2026-09-06</lastmod>
  </url>

  <!-- Legal and data-rights pages. Low priority but legitimate, and a trust
       signal for a product built on private conversations. -->
  <url>
    <loc>https://portraitor.ai/privacy</loc>
    <lastmod>2026-09-06</lastmod>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://portraitor.ai/terms</loc>
    <lastmod>2026-09-06</lastmod>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://portraitor.ai/gdpr</loc>
    <lastmod>2026-08-27</lastmod>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://portraitor.ai/attributions</loc>
    <lastmod>2026-09-14</lastmod>
    <priority>0.3</priority>
  </url>

</urlset>
