[TYPO3-core] Patch: simulateStaticDocuments and SEO

Michael Stucki michael at typo3.org
Thu Jan 19 20:52:24 CET 2006


Done.

- michael

Dmitry Dulepov wrote:

> Commited with compatibility features included and "prefixChar" changed to
> "replacementChar".
> 
> Michael, please, add to CONFIG in TSRef:
> 
> ---------------------------
> Property: simulateStaticDocuments_replacementChar
> 
> Type: String
> 
> Description: Word separator URLs generated by simulateStaticDocuments. If
> set to hyphen, this option allows search engines to index keywords in
> URLs. Before TYPO3 4.0 this character was hard-coded to underscore.
> 
> Default: Depends on compatibility mode (see Tools>Install>Update wizard).
> If compatibility mode is set to less then 4.0.0, default value is
> underscore. If compatibility mode is 4.0.0 or higher, it is hyphen.
> ---------------------------
> 
> Dmitry.
> 
> Dmitry Dulepov wrote:
>> This is a CVS patch request
>> 
>> Type: feature
>> 
>> Branch: TYPO3_4-0
>> 
>> Problem: Typo3 uses undescope character as separator to generate URLs if
>> simulateStaticDocuments is enabled. Google however recognizes hyphen as
>> word separator in URLs. Thus it cannot find keywords in URLs produced by
>> Typo3
>> 
>> Solution: make this character configurable. A new option added
>> (config.simulateStaticDocuments_prefixChar) with default value of
>> underscope. If this value is set and it equals to its urlencode(), than
>> it is used as prefix separator character.
>> 
>> This patch also converts ereg_replace to preg_replace in the function
>> responsible for handling simulateStatic file names.

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list