Search code examples
modxmodx-revolution

ModX - main resources for different contexts


I started using ModX yesterday. Prepared my multilingual website using this tutorial: http://www.multilingual-modx.com/blog/2011/multilingual-websites-with-modx-and-babel.html.

Everything works perfectly. I have two contexts: web (domain.com - English) and nl (domain.nl - Dutch). I translated main resource for nl context as well as other resources.

I faced only one problem: why domain.com returns error 404? It works perfectly for domain.nl/index but cannot make it working for domain.nl.

Any suggestions?

Edit
Just noticed, that Wayfinder is generating domain.nl/index URL for translation of main resource. Weird.


Solution

  • You need to set up site_start variable under Context Settings tab. You need to provide an ID of the existing and published resource.

    Please follow this link for more informations.