Issue Bug Needs Feedback Stale

#91670Not possible to exclude "mountpoints" from sitemap using "excludedDoktypes"

Jan Kornblum 06/17/20, 18:54 updated 08/28/26, 07:47

Description

It seems impossible to exclude “mountpoints” (doktype=7) from sitemap generation:

plugin.tx_seo.config.xmlSitemap.sitemaps.pages.config.excludedDoktypes = 3, 4, 6, 7, 199, 254, 255

The mounted pages are still included (for both “mount_pid_ol=0” and “mount_pid_ol=1”). In my case pages from a different site (domain) are mounted, don’t know if this matters…

In addition (but maybe this is a desired behaviour because of seo aspects), the mounted pages are prefixed with the foreign domain (site) in sitemap, although in frontend all mounted pages are below the current domain (site).

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Not possible to exclude "mountpoints" from sitemap using "excludedDoktypes" Resolves: #91670 Releases: main

History 5

  1. Christian Weiske commented <span data-processor="relativetime" data-value="2024-01-26T11:26:33+00:00" > 01/26/24, 11:26 </span>

    Mount point handling is severely broken, see #100102.
    This bug here stems from the problem that $pageRepository->getDescendantPageIdsRecursive() already resolves mount point targets and never returns the page IDs of the actual mount points, making it impossible to filter them out.

  2. Benni Mack commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-07-29T13:28:13+00:00" > 07/29/26, 13:28 </span>

    So, this should be fixed now via #100102, right?

  3. Christian Weiske commented <span data-processor="relativetime" data-value="2026-08-28T07:47:30+00:00" > 08/28/26, 07:47 </span>

    Benni Mack wrote in #note-4:
    > So, this should be fixed now via #100102, right?

    It’s still not possible to do

    plugin.tx_seo.config.xmlSitemap.sitemaps.pages.config.excludedDoktypes = 7

    (This is with TYPO3 13.4.33, which has the patch)

    I did not test different domains.