Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
8f4cbe46
Commit
8f4cbe46
authored
Jul 15, 2020
by
Christian Knauf
Browse files
Add sitemap.xml
[BUGFIX] Add sitemap.xml -> yoast-snippetpreview
parent
64c869ce
Pipeline
#9205
passed with stages
in 4 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/sites/t3org/config.yaml
View file @
8f4cbe46
...
...
@@ -129,15 +129,16 @@ routeEnhancers:
type
:
StaticRangeMapper
start
:
'
1'
end
:
'
100'
PageTypeSuffix
:
type
:
PageType
map
:
sitemap.xml
:
1533906435
yoast-snippetpreview.json
:
1480321830
routes
:
-
route
:
robots.txt
type
:
staticText
content
:
"
User-agent:
*
\r\n
Allow:
/
\r\n\r\n
#
folders
\r\n
Disallow:
/typo3/
\r\n
Disallow:
/typo3conf/
\r\n
Allow:
/typo3conf/ext/
\r\n
Allow:
/typo3temp/
\r\n\r\n
#
parameters
\r\n
Disallow:
/*?id=*
#
non
speaking
URLs
\r\n
Disallow:
/*cHash
#
no
cHash
\r\n
Disallow:
/*tx_powermail_pi1
#
no
powermail
thanks
pages
\r\n
Disallow:
/*tx_form_formframework
#
no
forms
\r\n\r\n
#
sitemap
\r\n
Sitemap:
https://typo3.org/?type=1533906435
\r\n
"
-
route
:
sitemap.xml
type
:
uri
source
:
'
https://typo3.org/?type=1533906435'
solr_enabled_read
:
true
solr_host_read
:
solr
solr_path_read
:
/solr/
...
...
extensions/t3org_layout/Configuration/TypoScript/Ext/Sitemap.typoscript
0 → 100644
View file @
8f4cbe46
@import 'EXT:seo/Configuration/TypoScript/XmlSitemap'
@import 'EXT:news/Configuration/TypoScript/Sitemap'
plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
pages {
config {
excludedDoktypes = 3, 4, 5, 6, 7, 199, 254, 255
additionalWhere = AND (no_index = 0)
}
}
news {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_news_domain_model_news
additionalWhere =
sortField = sorting
lastModifiedField = tstamp
pid = 179
recursive = 2
url {
pageId = 185
fieldToParameterMap {
uid = tx_news_pi1[news]
}
additionalGetParameters {
tx_news_pi1.controller = News
tx_news_pi1.action = detail
}
useCacheHash = 1
}
}
}
events {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_sfeventmgt_domain_model_event
sortField = tstamp
lastModifiedField = tstamp
pid = 180,43,461
recursive = 2
url {
pageId = 230
fieldToParameterMap {
uid = tx_sfeventmgt_pievent[event]
}
additionalGetParameters {
tx_sfeventmgt_pievent.controller = Event
tx_sfeventmgt_pievent.action = detail
}
useCacheHash = 1
}
}
}
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment