// Fix og:locale per language
add_filter('wpseo_locale', function() {
    if (function_exists('pll_current_language')) {
        $lang = pll_current_language();
    } elseif (defined('ICL_LANGUAGE_CODE')) {
        $lang = ICL_LANGUAGE_CODE;
    } else {
        return 'de_AT';
    }
    $map = ['de' => 'de_AT', 'it' => 'it_IT', 'en' => 'en_GB'];
    return $map[$lang] ?? 'de_AT';
});
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//www.pfeiferhof.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.pfeiferhof.com/post-sitemap.xml</loc>
		<lastmod>2026-06-11T08:17:09+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.pfeiferhof.com/page-sitemap.xml</loc>
		<lastmod>2026-11-02T14:20:21+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.pfeiferhof.com/author-sitemap.xml</loc>
		<lastmod>2026-11-02T14:06:01+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->