Add static routes for robots.txt
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user