 之前，如果没有 ?> 就直接放最后）=====

// 1) Google Search Console 验证标签
add_action( 'wp_head', function () {
	echo '<meta name="google-site-verification" content="N6IsqGU0iv0Lh5pl_szz6dxwe96fTC0eiKVNLfl7ysA" />' . "\n";
}, 1 );

// 2) 匿名访问的 HTML 加 CDN 缓存头（浏览器不缓存，CDN 缓存 1 小时）
add_filter( 'wp_headers', function ( $headers ) {
	if ( is_admin() || is_user_logged_in() ) {
		return $headers;
	}
	$headers['Cache-Control'] = 'public, max-age=0, s-maxage=3600, stale-while-revalidate=86400';
	return $headers;
}, 20 );

// ===== 粘贴结束 =====
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://hanzmanufacturing.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://hanzmanufacturing.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://hanzmanufacturing.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
<!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->