Hallo,
ich habe "weeaar_robotstxt" installiert und konfiguriert.
Nach dem Aufruf "http://www.domain.de/robots.txt" wurde mir
der Inhalt von der im Hauptverzeichniss liegenden robots.txt
Datei angezeigt. Dies habe ich darauf hin gelöscht.
Jetzt bekomme ich nach dem Aufruf leider immer die Fehlermeldung:
"Reason: Segment "robots.txt" was not a keyword for a postVarSet as expected!"
Wenn ich allerdings den Aufruf folgend umformuliere:
"http://www.domain.de/index.php?id=1&type=201"
dann erhalte ich das gewünschte Ergebnis.
TS Setup
robots = PAGE
robots {
typeNum = 201
10 >
10 < plugin.tx_weeaarrobotstxt_pi1
10.pid_list = 1
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/plain
no_cache = 1
}
}
Konfiguration für RealURL
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
....
....
....
'robots.txt' => array(
'keyValues' => array(
'type' => 201,
),
),
),
Über einen Tipp wäre ich sehr froh ;-)
thomasd