From f97675b4f147a2b826a4e10142b8d136d7d26edd Mon Sep 17 00:00:00 2001 From: Richard Haeser <richard@maxserv.com> Date: Fri, 26 Oct 2018 16:06:31 +0200 Subject: [PATCH] [TASK] Add more doktypes to be excluded from XML sitemap by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shortcuts and backend user sections should be removed from the XML sitemap because a search engine should not index those pages by default. An integrator can always override this setting. Resolves: #86690 Releases: master Change-Id: I1b6c2299dc01d315c0aefe2205436037f045dc8c Reviewed-on: https://review.typo3.org/58715 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Joerg Kummer <typo3@enobe.de> Tested-by: Joerg Kummer <typo3@enobe.de> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de> Tested-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: Jürgen Heym <juergen.heym@hof-university.de> Tested-by: Jürgen Heym <juergen.heym@hof-university.de> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> --- .../Configuration/TypoScript/XmlSitemap/constants.typoscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/constants.typoscript b/typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/constants.typoscript index 26dde5ba8487..9e41ede64044 100644 --- a/typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/constants.typoscript +++ b/typo3/sysext/seo/Configuration/TypoScript/XmlSitemap/constants.typoscript @@ -12,7 +12,7 @@ plugin.tx_seo { xmlSitemap { sitemaps { pages { - excludedDoktypes = 7, 3, 254, 255, 199 + excludedDoktypes = 3, 4, 6, 7, 199, 254, 255 additionalWhere = no_index = 0 } } -- GitLab