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¶
Property | Data type | stdWrap | Default |
---|---|---|---|
sitemap.pages.rootPid | integer | no | 1 |
sitemap.pages.languageUids | list | no | 0 |
sitemap.pages.doktypes | list | no | 1 |
sitemap.additional | string | no | |
sitemap.view.layoutRootPath | string | no | |
sitemap.view.partialRootPath | string | no | |
sitemap.view.templateRootPath | string | no |
plugin.tx_csseo.sitemap.
Root Pid¶
Property
rootPid
Data type
Description
Set the root pid for the current domain. The sitemap.xml will have this page as root.
Language Uids¶
Property
languageUids
Data type
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
Description
Comma separated list without whitespaces of allowed doktypes in the sitemap.xml (e.g. 1 for pages).
Additional¶
Property
additional
Data type
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
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
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.
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¶
Detail Pid¶
Property
detailPid
Data type
Description
Required! The page uid where the detail view of the news is shown.
Language Uids¶
Property
languageUids
Data type
Description
List the language uids (e.g. 0,2,3). For each language an extra sub sitemap.xml will be generated.