Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

One domain name for each language in SS? Possible?


Reply

3 Posts   944 Views

Avatar
Nobrainer Web

19 March 2010 at 1:52am (Last edited: 25 March 2010 10:36pm), Community Member, 135 Posts

Hi guys,

We have the following site online http://www.rilesa.com/.
The .com domain uses a 301 redirect to set language to EN, and the http://www.rilesa.dk/ domain will give you the danish version.
However Google will index both the EN and the DA content for both domains - how can i avoid this?

I was thinking about outputting a noindex, nofollow if you are on a "wrong" domain for the current language - is there a better way to do this?

Update:
I've asked the following in the forum: Any one that knows of a good way to handle several domain names for a silverstripe solution running translatable? I would like one domain for each language.

Avatar
snaip

24 October 2011 at 10:51pm Community Member, 180 Posts

i have this problem too and dont know any solution

Avatar
lerni

25 October 2011 at 9:23am Community Member, 80 Posts

hi snapi

the translatable-domains module does the trick:
https://github.com/cbryer/Translatable-Domains