[TYPO3-english] Generating a useful Google Sitemap with dd_googlesitemap and multiple domains

Ulrik H. Kold uk at oerskov.dk
Mon Apr 6 13:11:07 CEST 2009


Dmitry Dulepov skrev:
> Hi!
> 
> Ulrik Høyer Kold wrote:
>> I am trying to generate correct (SEO-wise) sitemaps of multiple domains on
>> the same level with dd_googlesitemap. My problem is that the root page for
>> each domain is represented as http://www.example.com/4.html instead of just
>> http://www.example.com. I have added an alias for the first site's root
>> page, which is now http://www.example.com/index.html - but that only works
>> for one site, see. I would like to tell both sitemaps that the root page is
>> named index.html (or something similar).
> 
> Sitemaps do not have a concept of root page :) They are flat, not hierarchical :) They lust list pages one after another without any special order or priority.
> 
>> I would very much like the root pages to take the value of only the domain
>> (http://www.example.com) and just forget about the alias or PID.
> 
> Sitemap uses the same URLs that TYPO3 does. So if you can make TYPO3 generate that page as http://www.example.com/, sitemap will do the same.

Thank you for your answer. This is what I did.

SOLUTION: Luckily I only have to parallel websites, which means I 
aliased the two frontpages 'index' and 'default'. This emulates two 
frontpages, but is not the optimal solution.

I.e. what do I do if there are three or more sites and they all need 
different sitemaps? I could name them 'index', 'default', 'index.en', 
'default.en' - but that's still a hack, as I see it?

Any suggestions for a more general solution are welcomed :-)

/Ulrik H. Kold
Ørskov Web - http://www.oerskovweb.dk


More information about the TYPO3-english mailing list