Exclude booking links from xmlsitemap

This commit is contained in:
Björn Fromme
2019-06-27 08:51:24 +02:00
parent c32052f4a8
commit 8f05cd1517
2 changed files with 18 additions and 0 deletions
@@ -1 +1,17 @@
@import "EXT:seo/Configuration/TypoScript/XmlSitemap/setup.typoscript"
[{$plugin.tx_eptheme.settings.bookingLinksPid} > 0]
plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
pages {
config {
additionalWhere = AND pid NOT IN ({$plugin.tx_eptheme.settings.bookingLinksPid})
}
}
}
}
}
}
[END]
@@ -56,6 +56,8 @@ plugin.tx_eptheme {
conceptsPageUid =
# cat=eptheme/200/300; type=string; label=My E&P page UID
myEpPageUid =
# cat=eptheme/200/310; type=string; label=Booking links PID
bookingLinksPid =
# cat=eptheme/400/100; type=string; label=Phone number general
phoneNumber = 0221 - 272 276 0