We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    I’ve duplicated web context and name it accordingly to store second language version.
    Whenever I want to preview document in this new context it displays start page of my main web context, thou url points to a proper document.
    setting site start or root id in this new context didn’t help.

    I wonder what I’m missing ...

    I’m running Revo 2.0.5 (previously 2.0.3 - with same effect), Apache, php 5.2.14
      Lucas from AroundCyprus.net
      • 1778
      • 659 Posts
      Hello

      Have a look at http://www.belafontecode.com/how-to-host-multiple-sub-domains-on-modx-revolution/
      Not sure but it can be of use to solve your problem...

      Cheers
        • 17723
        • 221 Posts
        Thanks,
        so does it mean that I can’t preview and use documents in my new context without settings all thous things with subdomains ?

        I thought that putting some resources to a new context will allow me to use them on my main page, and allowing me to overwrite some system settings.

        Luke
          Lucas from AroundCyprus.net
          • 22303 MODX Staff
          • 10,725 Posts
          Contexts are multi-purpose, organizational structures in the MODx core. You just need a strategy on how to use them and identify which Context you want to load based on attributes of the request being made. For instance, some folks are using them to organize specific sub-folders within a single domain, and have a plugin to switch contexts based on the first folder name in the REQUEST_URI.