Hi there,
for the past week I have been trying every resource I can find on creating a multilingual site with MODX 2.6.5. But nothing really seems to work and I don't know where to look anymore. I've tried most of posts with suggestions on this forum, a couple of youtube videos (even one in Russian which I don't even understand) but just cannot get this to work. I would like to have the following setup:
domain.tld/ -> for the main site
domain.tld/nl/ -> for a Dutch version of the website
With langrouter it seems like everything but the /nl/ works (if I do /nl/blahblah) it just goes to the English site..
With XRouting it seems to not match to the contexts for whatever reason. I've tried multiple fresh installations with combinations of a lot of things but nothing works.
My .htaccess file is just the standard file with the addition of the RewriteBase being /modx2/ (as I'm working from a /modx2/ folder). Currently the output I get from xRouting is this:
## MODX context map:
Array
(
[_hosts] => Array
(
[localhost/modx2] => Array
(
[0] => web
[1] => nl
)
)
[web] => Array
(
[base_url] => /
[cultureKey] => en
[http_host] => localhost/modx2
[site_start] => 1
[site_url] => http://localhost/modx2/
)
[nl] => Array
(
[base_url] => /nl/
[cultureKey] => nl
[http_host] => localhost/modx2
[site_start] => 6
[site_url] => http://localhost/modx2/nl/
)
)
## Requested URL:
## Requested URL with base_url: /
## Matched context(s) (Array key defines match quality):
Array
(
)
## Request will go to context:
## Modified request URL:
Could someone help me out here? And maybe push me into the right direction. I'm kinda lost right now.