// Array of disallowed country codes
$blockedCountries = ['CN'];

// Get the current server API
$api = php_sapi_name();

// Bypass geo checks for non-web server APIs (CLI, cron, etc.)
if ($api === 'cli') {
    return;
}

// Retrieve the country code or default
$countryCode = $_SERVER['GEOIP_COUNTRY_CODE'] ?? 'Unknown';

// Block access if the country code is in the blocked list
if (in_array($countryCode, $blockedCountries)) {
    header('HTTP/1.1 404 Not Found', true, 404);
    exit;
}

// End of Geographic Access Restriction code<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//earthdance.org/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://earthdance.org/post-sitemap.xml</loc>
		<lastmod>2026-08-19T15:19:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/page-sitemap.xml</loc>
		<lastmod>2026-08-21T16:18:23+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/tribe_venue-sitemap.xml</loc>
		<lastmod>2026-08-21T02:15:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/tribe_organizer-sitemap.xml</loc>
		<lastmod>2026-07-07T12:24:19+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/tribe_events-sitemap.xml</loc>
		<lastmod>2026-08-21T02:14:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/category-sitemap.xml</loc>
		<lastmod>2026-08-19T15:19:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/post_tag-sitemap.xml</loc>
		<lastmod>2024-07-02T19:13:06+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/tribe_events_cat-sitemap.xml</loc>
		<lastmod>2026-08-21T02:14:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://earthdance.org/author-sitemap.xml</loc>
		<lastmod>2018-11-07T23:15:28+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->