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   976 Views

Avatar
Nobrainer Web

Community Member, 137 Posts

19 March 2010 at 1:52am

Edited: 25/03/2010 10:36pm

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

Community Member, 180 Posts

24 October 2011 at 10:51pm

i have this problem too and dont know any solution

Avatar
lerni

Community Member, 80 Posts

25 October 2011 at 9:23am

hi snapi

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