SEO Typo3 News
Sitemap für News mit mehreren Landing Pages.
#Normale Site Map mit News
plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
pages {
config {
#excludedDoktypes = 9818, 500
additionalWhere = AND no_index = 0
}
}
}
}
}
}
plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
news {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_news_domain_model_news
sortField = sorting
lastModifiedField = tstamp
recursive = 1
pid = 34, 39, 41, 43, 47, 48, 90, 32 //Speicherort der Beiträge
url {
pageId = 70 //PageID der Detailseite
fieldToParameterMap {
uid = tx_news_pi1[news]
}
additionalGetParameters {
tx_news_pi1.controller = News
tx_news_pi1.action = detail
}
useCacheHash = 1
}
}
}
}
}
}
}
#Sitemap für News mit mehreren Landing Pages,
plugin.tx_seo.config {
xmlSitemap {
sitemaps {
news-1 {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_news_domain_model_news
sortField = sorting
lastModifiedField = tstamp
pid = 100 # id des Ordners mit den News
recursive = 2
url {
pageId = 101 # id der Detailseite
fieldToParameterMap {
uid = tx_news_pi1[news]
}
additionalGetParameters {
tx_news_pi1.controller = News
tx_news_pi1.action = detail
}
useCacheHash = 1
}
}
}
news-2 {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_news_domain_model_news
sortField = sorting
lastModifiedField = tstamp
pid = 200 # id des Ordners mit den News
recursive = 2
url {
pageId = 201 # id der Detailseite
fieldToParameterMap {
uid = tx_news_pi1[news]
}
additionalGetParameters {
tx_news_pi1.controller = News
tx_news_pi1.action = detail
}
useCacheHash = 1
}
}
}
}
}
}