You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

TYPO3 9.5.x多域名网站XML sitemap配置是否有效?

Is this TYPO3 SEO plugin XML sitemap configuration valid for multi-domain (.de/.com) sites?

Question:

I'm using the following code to create an XML sitemap for my multi-domain (.de and .com) website:

plugin.tx_seo { 
    config { 
        xmlSitemap { 
            sitemaps { 
                pages { 
                    config { 
                        excludedDoktypes = 137, 138 
                        additionalWhere = AND (no_index = 0 OR no_follow = 0) 
                    } 
                } 
            } 
        } 
    } 
}

The generated result is an XML file pointing to the real sitemap, and clicking the link (.../sitemap.xml?sitemap=pages&cHash=d65c2c32882eb9d88ac8d6050159a9c7) opens the real sitemap. Is this configuration valid?


Answer:

Your configuration is absolutely valid—and the fact that you can successfully access the actual sitemap via the generated link is solid proof of that. Let’s break down why this setup works, especially for your multi-domain (.de/.com) scenario:

  • excludedDoktypes = 137, 138: This line excludes specific page types from the sitemap, which is a standard, safe practice to keep your sitemap focused on crawlable content. It doesn’t interfere with multi-domain functionality at all.
  • additionalWhere = AND (no_index = 0 OR no_follow = 0): This condition filters out pages marked with no_index or no_follow, ensuring only pages intended for search engine crawlers make it into the sitemap. The logic here is sound and works across all configured domains.

For multi-domain setups, the TYPO3 SEO plugin automatically adapts to the requesting domain—as long as you’ve properly configured your sites in TYPO3’s Site Management (with distinct root pages and domain associations). The sitemap will generate a page list specific to the domain it’s accessed from, so your .de visitors/crawlers get the .de sitemap, and .com gets the .com version.

Also, don’t worry about the cHash in your access link—it’s a normal TYPO3 security feature for dynamically generated content, and it doesn’t prevent search engines from processing your sitemap correctly.

If you ever run into issues where the sitemap doesn’t show the right pages for each domain, double-check:

  • That each site’s root page is correctly linked to its corresponding domain in Site Management
  • That individual pages are assigned to the correct site
  • That no other extensions or custom configurations are overriding the SEO plugin’s sitemap logic

内容的提问来源于stack exchange,提问作者justcasper

火山引擎 最新活动