Hallo
realURL funktioniert bei mir einwandfrei entlang dem Menü und unter berücksichtigung der Sprache.
Ich möchte jetzt aber eine einzelne Seite (z.B. ID 29) als ein statisches HTML aufrufbar machen (z.B. als /googlesitemap.html.
Wie kann ich das machen?
Danke!
Gruss
Joe
Du legst eine Seite unterhalb vom Root an mit dem Namen "googlesitemap". Alles andere macht realurl.
Falls es das nicht macht => bitte realurl localconf posten.
Viele Grüße
Niki
hat nicht funktioniert.
hier ein Auszug aus localconf.php
// realurl
$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['EXTCONF']['realurl']['_DEFAULT'] = array(
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '0',
'jp' => '1',
'de' => '2',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'rootpage_id' => 9,
),
'fileName' => array (
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
)
),
'_DEFAULT' => array(
'keyValues' => array(
)
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'news' => array(
array(
'GETvar' => 'tx_mininews[mode]',
'valueMap' => array(
'list' => 1,
'details' => 2,
)
),
array(
'GETvar' => 'tx_mininews[showUid]',
),
),
),
),
);
danke
Vermutlich kannst Du das Problem am einfachsten mit der redirect Funktion von realurl lösen
Syntax-Struktur (fürs localconf.php):
'redirects' => array(
'' => 'cms/', // If default URL, redirect to subdir "cms/"
'test/' => 'http://www.test.test/', // If subdir is "test/" then redirect to URL
'myFolder/mySubfolder/myFile.html' => 'test/index.php',
),
Mehr Infos sh. die realurl Doku
http://typo3.org/documentation/document-library/extension-manuals/realurl/1.1.4/view/1/2/
Viele Grüße,
Niki