i'm using the module site_map (http://drupal.org/project/site_map) and this creates a sitemap with a menu path "sitemap". In this case, localizer changes the locale and therefor titles and urls in the "sitemap" page, but this only works for a user not for bot's. They only see "sitemap" as path - in all languages. i'd like to use "de/sitemap" and "en/sitemap"...

Any way to solve this duplicate content problem?

Comments

Roberto Gerola’s picture

Not tried, but :
- activate the switching by locale in url
- create the url aliases of every language you need :
en/sitemap -> sitemap
de/sitemap -> sitemap

hass’s picture

that is a good idea, but isn't working at all. for e.g. i have a sitemap link in the head section. this one is one of some "secondary menu" items and have a path "sitemap" configured. if i change this to "de/sitemap" this will not change on a switch to EN into "en/sitemap". :-(

Roberto Gerola’s picture

Ok.
I think that I can change it on-the-fly by code.

Roberto Gerola’s picture

Title: site_map: any sitemap module available works together with localizer? » Rewrinting urls links with their localized version

I have changed the title.
To do this I need to work on the url aliases module, adding
the language of the alias and also the relations between
the localized version of the aliases.

hass’s picture

Status: Active » Closed (won't fix)