Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Multi-language based on domain

Started by Alex 8 years ago · 3 replies · 738 views
8 years ago

Hi everyone.

What I'm trying to achive is:
http://site.com => Points to Engish version
http://site.pt => Points to Portuguese version
etc.

Of course I'm aware of this, but what that section describes is redirecting from site.pt to site.com/pt, but I need to stay on site.pt and see Portuguese content.

Is it possible at all? I was thinking of another option - setting it up as multisite, but I strongly wouldn't like to do it as Grav has such convenient content translation system, and I' really want to use it.

Thanks in advance for any input!

1 reply
8 years ago

No, Im pretty sure this isn't possible, as that would be completely different domains :)

8 years ago

Hi
I'm wondering if you could get away with doing something where you create content elsewhere maybe your local machine and then automatically push it out to both sites together maybe using git. In this way you can use the admin panel and built in translation tools to create your content but still be able to keep two separate sites in sync.

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 14 hours ago
1 43 7 hours ago
Support · by gtx, 1 week ago
4 227 1 day ago
Support · by Paul Hodges, 2 weeks ago
13 274 5 days ago
Support · by Anna, 3 weeks ago
9 333 1 week ago
Support · by TomW, 2 weeks ago
4 187 1 week ago