Hallo,
leider kann ich Dir keinen Tipp geben, nur sagen, daß ich dasselbe Problem habe, soll heißen, über
www.tralala.de/sitemap.xml => The requested page does not exist!, über
www.tralala.de/?type=200 sehe ich die tolle Sitemap. Ebenso bei robots.
Ich habe folgende Konfiguration laufen:
TYPO3 Ver. 4.1.3, realurl 1.2.1, weeaar_robotstxt 0.5.1, weeaar_googlesitemap 0.4.3 (und
https_enforcer 1.0.12)
Mein Setup:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50:
| [globalVar = TSFE:page|tx_httpsenforcer_force_secure = 0] config.baseURL = http://www.tralala.de/ [else] config.baseURL = https://ssl-id1.de/www.tralala.de/ [global] page = PAGE page.typeNum = 0 page.5 < plugin.tx_httpsenforcer_pi1 page.10 < temp.mainTemplate page.config.language = de page.config.setJS_openPic = 1 page.config.simulateStaticDocuments = 0 page.config.tx_realurl_enable = 1 page.config.prefixLocalAnchors = all (...) robots = PAGE robots { typeNum = 201 10 > 10 < plugin.tx_weeaarrobotstxt_pi1 10.pid_list = 2 config { disableAllHeaderCode = 1 additionalHeaders = Content-type:text/plain no_cache = 1 } } sitemap = PAGE sitemap { typeNum = 200 10 > 10 < plugin.tx_weeaargooglesitemap_pi1 10.pid_list = 2 10.recursive = 0 10.allowedDoktypes = 2,1,4 10.domain = www.tralala.de 10.showLanguages = 0,2,3,4,5,6 config { disableAllHeaderCode = 1 additionalHeaders = Content-type:text/xml no_cache = 1 xhtml_cleaning = 0 } } |
Meine ext_localconf.php:
PHP-Code:
<?php
$TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tstemplate.php'] ['linkData-PostProc'] []= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS'] ['tslib/class.tslib_fe.php'] ['checkAlternativeIdMethods-PostProc'] []= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php'] ['clearAllCache_additionalTables'] ['tx_realurl_urldecodecache']= 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php'] ['clearAllCache_additionalTables'] ['tx_realurl_urlencodecache']= 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=',tx_realurl_pathsegment,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1,
),
'rewrite' => array(),
'preVars' => array(),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => '2' // WICHTIG: Hier muss die root ID eingetragen werden.
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
),
),
'robots.txt' => array(
'keyValues' => array(
'type' => '201',
),
),
'sitemap.xml' => array(
'keyValues' => array(
'type' => '200',
),
),
),
),
'fixedPostVarSets' => array(),
'postVarSets' => array(
'_DEFAULT' => array(
'period' => array (
array (
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]',
),
array (
'GETvar' => 'tx_ttnews[pL]',
),
array (
'GETvar' => 'tx_ttnews[arc]',
'valueMap' => array(
'non-archived' => -1,
),
),
),
'browse' => array (
array (
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array (
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array (
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
?>
Mein htaccess:
Code:
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteBase /
RewriteRule ^(typo3|banner|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (\.html|/)$ index.php
RewriteRule .* index.php