Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
code-schnipsel:typo3:realurl

RealURL Cache löschen

Damit der Cache von RealURL mit gelöscht wird, wenn man den Cache von Typo3 löscht
muss folgender Code in die Datei “typo3conf/localconf.php” kopiert werden:

// Begin: RealURL Cache 
$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['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_pathcache'] = ‘tx_realurl_pathcache’; 
// End: RealURL Cache


WICHTIG: die Rootpage ID

Damit RealURL richtig funktioniert muss in der Datei “typo3conf/realurl_autoconf.php” ca. in Zeile 20 die Rootpage-ID richtig gesetzt werden.
Die steht nämlich normalerweise auf '1'!

//hier das Original 
array (
      'type' => 'user',
      'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
      'spaceCharacter' => '-',
      'languageGetVar' => 'L',
			'rootpage_id' => 1,
			'expireDays' => 3,
    ),
// hier den Wert für 'rootpage_id' anpassen!! Ist öfter 74 ;-)
code-schnipsel/typo3/realurl.txt · Last modified: 2024/01/05 13:07 by 127.0.0.1