Bug #14956
closedSEO + simulateStaticDocuments
0%
Description
Titles generated by simulateStaticDocuments are not search-engine-friendly. Google uses hypen as a word separator in URLs, typo3 uses underscopes.
A simple attached patches makes typo3 more SEO friendly. Patch is tested with approx. 1 year work on five live servers. tslib/class.tslib_fe.php should be patched.
(issue imported from #M1430)
Files
Updated by Sebastian Kurfuerst about 19 years ago
what do you think, maybe we could make this configurable? Else we could get problems if there are permanent links from other sites linking to a TYPO3 site, or am I wrong with that?
Greets, Sebastian
Updated by Dmitry Dulepov about 19 years ago
simulateStaticDocuments generates links that look like this:
/my_favorite_page.2785.0.html
The only important part is "2785.0.html". You can even write:
/my_worst_page.2785.0.html
and still get the same page. Name portion is ignored by Typo3 completely. Only ID (2785) and type (0) is important.
Updated by Dmitry Dulepov about 19 years ago
Forgot examples from a real server:
http://berni.calis.lv/Pereetava.2460.0.html <-- original
http://berni.calis.lv/Hello-world.2460.0.html
http://berni.calis.lv/Bye_mom.2460.0.html
Updated by Dmitry Dulepov almost 19 years ago
Introduced new config option:
config.simulateStaticDocuments_replacementChar
Also compatibility mode affects default character. If compatibility mode is less than 4.0.0, underscore is used. Otherwise - hyphen.