Sitemap.xml

Here we show the constants which are available to configure the sitemap.xml. If you want to know how to extend the sitemap for example for your own extension or tx_news see also: Configuration and Extend the Sitemap.xml.

Properties

plugin.tx_csseo.sitemap.

Root Pid

Property

rootPid

Data type

integer

Description

Set the root pid for the current domain. The sitemap.xml will have this page as root.

Language Uids

Property

languageUids

Data type

list

Description

List the language uids (e.g. 0,2,3). For each language an extra sub sitemap.xml will be generated.

Doktypes

Property

doktypes

Data type

list

Description

Comma separated list without whitespaces of allowed doktypes in the sitemap.xml (e.g. 1 for pages).

Additional

Property

additional

Data type

string

Description

If you would like to add an external sub sitemap.xml enter the complete URL here. More URLs can be added in the TypoScript Setup.

Layout Root Path

Property

view.layoutRootPath

Data type

string

Description

Path to layout files. If set this path will be checked first for layouts used in all sitemaps. Layouts in EXT:cs_seo/Resources/Private/Layouts are always the fallback.

Partial Root Path

Property

view.partialRootPath

Data type

string

Description

Path to partial files. If set this path will be checked first for partials used in all sitemaps. Layouts in EXT:cs_seo/Resources/Private/Partials are always the fallback.

Template Root Path

Property

view.templateRootPath

Data type

string

Description

Path to template files. If set this path will be checked first for templates used in all sitemaps. Templates in EXT:cs_seo/Resources/Private/Templates/Sitemap are always the fallback.

Sitemap for news records

The following constants are available, if you include the TypoScript from the extension for tx_news.

Property Data type stdWrap Default
news.storagePid list no  
news.detailPid integer no  
news.languageUids list no  
news.categories list no  

plugin.tx_csseo.extensions.news.

Storage Pid

Property

storagePid

Data type

list

Description

The storage pid(s) where the news are saved.

Detail Pid

Property

detailPid

Data type

integer

Description

Required! The page uid where the detail view of the news is shown.

Language Uids

Property

languageUids

Data type

list

Description

List the language uids (e.g. 0,2,3). For each language an extra sub sitemap.xml will be generated.

Categories

Property

categories

Data type

list

Description

List the category uids (e.g. 1,2,3). If set, only the news which belongs to at least one of this category uid were shown.