[TYPO3-core] Patch: simulateStaticDocuments and SEO
Michael Stucki
michael at typo3.org
Wed Jan 18 11:37:15 CET 2006
One more note:
I am going to write one more patch that implements
"simulateStaticDocuments=2" which will produce links like you can see on
snowflakes demo-site http://www.boarder.ch/ ... Hope you like it!
- michael
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.
>
> FAQ:
> Q. Will it change existing URLs?
> A. No, unless you explicitely specify this character and set it to
> something else then underscope. No existing installations are affected by
> this patch.
>
> Q. If I set this character to hyphen, will external references to my pages
> work? A. Yes, they will. Typo3 does not care about prefix, it is ment for
> humans (and search engines). ID part of the URL stays the same.
>
> Q. How Google treats hyphen and underscope in the URL?
> A. Hyphen separates keywords while underscope glues keywords and make an
> exact sequence of them.
>
> Q. Are you sure about all this? Who told you?
> A. See yourself. Here:
> http://www.prweaver.com/blog/2004/08/26/2-hyphen-and-underscore
> and here:
> http://www.webmasterworld.com/forum3/23564.htm
> (Googleguy is a Google employee who gives carefully selected information
> about Google internals)
>
> Dmitry.
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list