Add static routes for robots.txt

This commit is contained in:
Björn Fromme
2019-06-13 13:39:50 +02:00
parent 20f2b0b2bb
commit c1a883bff9
4 changed files with 20 additions and 4 deletions
+5 -1
View File
@@ -36,7 +36,11 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
NewsPlugin:
type: Extbase
+5 -1
View File
@@ -22,7 +22,11 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
TeamPlugin:
type: Extbase
+5 -1
View File
@@ -22,7 +22,11 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
TeamPlugin:
type: Extbase
+5 -1
View File
@@ -22,7 +22,11 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
TeamPlugin:
type: Extbase