Closed (won't fix)
Project:
Localizer
Version:
4.7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2007 at 10:32 UTC
Updated:
31 Oct 2010 at 23:02 UTC
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
Comment #1
Roberto Gerola commentedNot tried, but :
- activate the switching by locale in url
- create the url aliases of every language you need :
en/sitemap -> sitemap
de/sitemap -> sitemap
Comment #2
hass commentedthat 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". :-(
Comment #3
Roberto Gerola commentedOk.
I think that I can change it on-the-fly by code.
Comment #4
Roberto Gerola commentedI 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.
Comment #5
hass commented