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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

One domain name for each language in SS? Possible?


Go to End


3 Posts   1962 Views

Avatar
Nobrainer Web

Community Member, 138 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, 181 Posts

24 October 2011 at 10:51pm

i have this problem too and dont know any solution

Avatar
lerni

Community Member, 81 Posts

25 October 2011 at 9:23am

hi snapi

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