Skip to content

Commit

Permalink
[BUGFIX] remove old robots.txt TypoScript
Browse files Browse the repository at this point in the history
  • Loading branch information
mhirdes committed Jun 18, 2020
1 parent fde6aa5 commit 6c60197
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
26 changes: 0 additions & 26 deletions Configuration/TypoScript/Setup/plugin.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,6 @@ plugin.tx_csseo {
piwik = {$plugin.tx_csseo.tracking.piwik}
piwik.id = {$plugin.tx_csseo.tracking.piwik.id}
}
# default robots.txt content #
robots = TEXT
robots {
data = getIndpEnv : TYPO3_REQUEST_HOST
noTrimWrap = | ||
wrap2 (
User-Agent: *
Allow: /

# folders
Disallow: /t3lib/
Disallow: /typo3/
Disallow: /typo3conf/
Allow: /typo3conf/ext/
Allow: /typo3temp/

# parameters
Disallow: /*?id=* # non speaking URLs
Disallow: /*cHash # no cHash
Disallow: /*tx_powermail_pi1 # no powermail thanks pages
Disallow: /*tx_form_formframework # no forms

# sitemap
Sitemap: |/sitemap.xml
)
}
structureddata {
search {
enable = {$plugin.tx_csseo.structureddata.search.enable}
Expand Down
1 change: 1 addition & 0 deletions Configuration/TypoScript/constants.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ module.tx_csseo_mod1 {
view {
# cat=module.tx_csseo_mod1/file; type=string; label=Path to template root (BE)
templateRootPath = EXT:cs_seo/Resources/Private/Templates/
templateRootPath = EXT:cs_seo/Resources/Private/Templates/
# cat=module.tx_csseo_mod1/file; type=string; label=Path to template partials (BE)
partialRootPath = EXT:cs_seo/Resources/Private/Partials/
# cat=module.tx_csseo_mod1/file; type=string; label=Path to template layouts (BE)
Expand Down

0 comments on commit 6c60197

Please sign in to comment.