[TYPO3-UG Italy] problema con line breaks

gerry [Newred] gerry at newred.ch
Wed Jun 14 05:46:30 CEST 2017


uso multidomain e uno dei domini non deve essere indicizzato ...

uso questa soluzione:
https://www.kerstner.at/2014/12/configure-robots-txt-for-realurl-in-typo3/

tutto funziona come previsto, solo che il robots.txt generato non ha 
line breaks ...
non so perché e non so se questo ha importanza, forse "User-Agent: 
*Disallow: /" funziona altrettanto

(ho solo tolto "wrap" e usato "value" che fa più senso)

# robots.txt
robots = PAGE
robots {
     typeNum = 201
     config {
         disableAllHeaderCode = 1
         additionalHeaders = Content-type: text/plain
     }
     10 = TEXT
     10._value _(
User-Agent: *
Disallow: /
)
}

distinti saluti, Gerry


More information about the TYPO3-UG-Italy mailing list