RealURL ist eine der meistgenutzten Erweiterungen für TYPO3. Viele Anwender sind jedoch schon an der Konfiguration verzweifelt. Hier sind die Folien zu einem Vortrag anlässlich der TYPO3 Akademie 2011, der sich mit dem Thema RealURL befasst
6. Warum RealURL ?
• 'Lesbare' URLs
• für Menschen
• für Suchmaschinen
Montag, 28. Februar 2011
7. SimulateStatic
• Home -> Produkte -> TV -> LCD
[domain]/lcd.html
• Home -> Impressum
[domain]/impressum.html
Montag, 28. Februar 2011
8. Installation
• Konfigurationsdatei:
Montag, 28. Februar 2011
9. Installation
• Automatische Konfiguration:
typo3conf/realurl_autoconf.php
• Achtung:
wird gelöscht bei Anlegen eines Domain-
Records!
Montag, 28. Februar 2011
16. /datei-downloads/software/windows/windows-xp.html
/datei-downloads/programme.html
/datei-downloads/programme/windows.html
/datei-downloads/programme/windows/windows-xp.html
Montag, 28. Februar 2011
17. /abc/programme.html
/abc/programme/windows.html
/abc/programme/windows/windows-xp.html
Montag, 28. Februar 2011
18. /datei-downloads/software.html
/datei-downloads/windows.html
/datei-downloads/windows/windows-xp.html
Montag, 28. Februar 2011
19. Funktionsweise RealURL
• Seiten ID + Parameter -> URL
• URL -> Seiten ID + Parameter
Montag, 28. Februar 2011
20. Teile der URL
Domain www.test.de
preVars en
pagePath shop/products/
fixedPostVars create
postVarSets article/123/color
fileName detail.html
Montag, 28. Februar 2011
21. Kodierung
Überschriften ueberschriften
Académie française academie-francaise
Español espanol
Фотосессия fotosessija
Ελλάδα ellada
מדינת ישראל mdint-ishral
Montag, 28. Februar 2011
33. Teile der URL
Domain www.test.de
preVars en
pagePath shop/products/
fixedPostVars create
postVarSets article/123/color
fileName detail.html
Montag, 28. Februar 2011
34. preVars
• http://[domain]/en/news/articel.html
Montag, 28. Februar 2011
36. preVars
1. Prüfe ob Eintrag in valueMap
2. Falls nicht gefunden, setze noMatch
3. Prüfe Eintrag in noMatch
- 'bypass': Wert wird nicht gesetzt, fortfahren
- 'null': Wert wird nicht gesetzt, ignoriere Rest
4. Datenbankabruf mit 'lookUpTable'
5.Verarbeitung mit 'userFunc'
6. Setze Wert mit 'valueDefault'
Montag, 28. Februar 2011
38. Teile der URL
Domain www.test.de
preVars en
pagePath shop/products/
fixedPostVars create
postVarSets article/123/color
fileName detail.html
Montag, 28. Februar 2011
40. Teile der URL
Domain www.test.de
preVars en
pagePath shop/products/
fixedPostVars create
postVarSets article/123/color
fileName detail.html
Montag, 28. Februar 2011
45. Teile der URL
Domain www.test.de
preVars en
pagePath shop/products/
fixedPostVars create
postVarSets article/123/color
fileName detail.html
Montag, 28. Februar 2011