
<?php
// ============================================================
// sitemap.php for FineArtLight.com
// Upload this file to your website root folder.
// Access it at: https://www.FineArtLight.com/sitemap.php
// ============================================================

header('Content-Type: application/xml; charset=utf-8');
echo '<?xml version="1.0" encoding="UTF-8"?>';

$baseUrl = 'https://www.FineArtLight.com';
$today   = date('Y-m-d');

// ============================================================
// 1. STATIC PAGES
//    Add or remove pages from this list as needed.
// ============================================================
$staticPages = [
    ['url' => '/',               'priority' => '1.0', 'changefreq' => 'weekly'],
    ['url' => '/background.php',          'priority' => '0.8', 'changefreq' => 'monthly'],
    ['url' => '/artlights.php',        'priority' => '0.9', 'changefreq' => 'weekly'],
    ['url' => '/gallery.php',        'priority' => '0.6', 'changefreq' => 'yearly'],
    ['url' => '/testimonials.php',         'priority' => '0.8', 'changefreq' => 'monthly'],
    ['url' => '/faqs.php',         'priority' => '0.8', 'changefreq' => 'monthly'],
    ['url' => '/cordless.php',         'priority' => '0.8', 'changefreq' => 'monthly'],
    ['url' => '/order.php',   'priority' => '0.7', 'changefreq' => 'monthly']
 // Add more static pages here:
    // ['url' => '/order.php',   'priority' => '0.7', 'changefreq' => 'monthly'],
];

// ============================================================
// 2. GALLERY / ARTWORK PAGES
//    Replace these example slugs with your real artwork URLs.
// ============================================================
$artworkPages = [
    '/gallery/golden-hour-reflections',
    '/gallery/morning-mist-canyon',
    '/gallery/desert-light-study',
    '/gallery/forest-cathedral',
    // Add your real artwork page URLs here...
];

// ============================================================
// 3. BLOG / ARTICLE PAGES
//    Replace these example slugs with your real article URLs.
// ============================================================
$blogPages = [
    '/blog/capturing-natural-light',
    '/blog/my-favorite-locations',
    '/blog/camera-settings-for-landscape',
    // Add your real blog post URLs here...
];

?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<?php // --- Static pages --- ?>
<?php foreach ($staticPages as $page): ?>
  <url>
    <loc><?= $baseUrl . $page['url'] ?></loc>
    <lastmod><?= $today ?></lastmod>
    <changefreq><?= $page['changefreq'] ?></changefreq>
    <priority><?= $page['priority'] ?></priority>
  </url>
<?php endforeach; ?>

<?php // --- Artwork / gallery pages --- ?>
<?php foreach ($artworkPages as $slug): ?>
  <url>
    <loc><?= $baseUrl . $slug ?></loc>
    <lastmod><?= $today ?></lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.7</priority>
  </url>
<?php endforeach; ?>

<?php // --- Blog / article pages --- ?>
<?php foreach ($blogPages as $slug): ?>
  <url>
    <loc><?= $baseUrl . $slug ?></loc>
    <lastmod><?= $today ?></lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
<?php endforeach; ?>

</urlset>