Exclude booking links from xmlsitemap
This commit is contained in:
@@ -1 +1,17 @@
|
|||||||
@import "EXT:seo/Configuration/TypoScript/XmlSitemap/setup.typoscript"
|
@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 =
|
conceptsPageUid =
|
||||||
# cat=eptheme/200/300; type=string; label=My E&P page UID
|
# cat=eptheme/200/300; type=string; label=My E&P page UID
|
||||||
myEpPageUid =
|
myEpPageUid =
|
||||||
|
# cat=eptheme/200/310; type=string; label=Booking links PID
|
||||||
|
bookingLinksPid =
|
||||||
|
|
||||||
# cat=eptheme/400/100; type=string; label=Phone number general
|
# cat=eptheme/400/100; type=string; label=Phone number general
|
||||||
phoneNumber = 0221 - 272 276 0
|
phoneNumber = 0221 - 272 276 0
|
||||||
|
|||||||
Reference in New Issue
Block a user