<?xml version="1.0" encoding="UTF-8"?>
<!--
  Al-Jazair Homes — STATIC XML Sitemap (baseline fallback).

  The canonical source of truth is the dynamic sitemap served by the
  `generateSitemap` Cloud Function — it queries Firestore for live listings
  and emits the full URL set (homepage + landing pages + every active listing).
  Hosting rewrites /sitemap.xml -> the dynamic function once it is deployed.
  Until then this static file is what Google reads.

  Reference: https://www.sitemaps.org/protocol.html
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

    <!-- Homepage -->
    <url>
        <loc>https://aljazairhomes.com/</loc>
        <xhtml:link rel="alternate" hreflang="ar-DZ"    href="https://aljazairhomes.com/?lang=ar"/>
        <xhtml:link rel="alternate" hreflang="fr-DZ"    href="https://aljazairhomes.com/?lang=fr"/>
        <xhtml:link rel="alternate" hreflang="en"       href="https://aljazairhomes.com/?lang=en"/>
        <xhtml:link rel="alternate" hreflang="x-default" href="https://aljazairhomes.com/"/>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>

    <!-- Property browse / search -->
    <url><loc>https://aljazairhomes.com/search.html</loc><changefreq>daily</changefreq><priority>0.9</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?transactionType=sale</loc><changefreq>daily</changefreq><priority>0.9</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?transactionType=long-term-rent</loc><changefreq>daily</changefreq><priority>0.9</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?transactionType=holiday-rent</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?propertyType=apartment</loc><changefreq>daily</changefreq><priority>0.8</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?propertyType=villa</loc><changefreq>daily</changefreq><priority>0.8</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?propertyType=house</loc><changefreq>daily</changefreq><priority>0.8</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?propertyType=land</loc><changefreq>daily</changefreq><priority>0.8</priority></url>
    <url><loc>https://aljazairhomes.com/search.html?propertyType=commercial</loc><changefreq>daily</changefreq><priority>0.8</priority></url>
    <url><loc>https://aljazairhomes.com/post-listing.html</loc><changefreq>monthly</changefreq><priority>0.7</priority></url>

    <!-- Auth (branded searches) -->
    <url><loc>https://aljazairhomes.com/login.html</loc><changefreq>monthly</changefreq><priority>0.4</priority></url>
    <url><loc>https://aljazairhomes.com/register.html</loc><changefreq>monthly</changefreq><priority>0.4</priority></url>

    <!-- Static info -->
    <url><loc>https://aljazairhomes.com/about.html</loc><changefreq>monthly</changefreq><priority>0.6</priority></url>
    <url><loc>https://aljazairhomes.com/contact.html</loc><changefreq>monthly</changefreq><priority>0.6</priority></url>
    <url><loc>https://aljazairhomes.com/help.html</loc><changefreq>monthly</changefreq><priority>0.6</priority></url>
    <url><loc>https://aljazairhomes.com/advertise.html</loc><changefreq>monthly</changefreq><priority>0.5</priority></url>
    <url><loc>https://aljazairhomes.com/partnerships.html</loc><changefreq>monthly</changefreq><priority>0.4</priority></url>

    <!-- Legal -->
    <url><loc>https://aljazairhomes.com/privacy.html</loc><changefreq>yearly</changefreq><priority>0.3</priority></url>
    <url><loc>https://aljazairhomes.com/terms.html</loc><changefreq>yearly</changefreq><priority>0.3</priority></url>

</urlset>
