We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40553
    • 42 Posts
    Hi,

    I have been recently trying to configure MODX along with the Babel plugin in order to provide multilingual feature on my site, yet I had really hard time doing so. The last thing that was a failure was context access which obviously is a must in this type of configuration.
    So here's what I did:

    • I have created two contexts web and weben, the web with the default and weben with the following settings:
    • [list]
    • base_url: /en/
    • Language: en
    • http_host: mydomain.com/en/
    • site_start: 24
    • site_url: http://mydomain.com/en/
    [li]I have given anonymous access "load Only"[/li]
    [li]Configured .htaccess[/li]
    [li]Installed and set up Babel[/li]
    [/list]
    The problem is that everything seems to be working, the babel sees the contexts, links to the right contexts but cant open the http://mydomain.com/en/...The error that I get is 404.
    I have tried clearing cache several times, checking permission settings and general settings of my MODX installation.
    Can someone tell me where am I making a mistake and how to make another context with resources so it can be accessed as if it was a container(http://mydomain.com/en/index.php) ?
    May the problem be in the .htaccess configuration file?

    Environment information:
    MODX: MODX Revolution 2.2.4-pl (traditional)
    PHP: PHP 5.2.17
    Mysql: Mysql 5.5.25a-log, database charset UTF-8


    Thank you in advance! [ed. note: ellipsis_89 last edited this post 14 years, 3 months ago.]
      • 3109 ☆ A M B ☆
      • 894 Posts
      Make sure to follow this tutorial when setting up your contexts.

      Hopefully this helps you sort out your issues, good luck.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 40553
        • 42 Posts
        I followed this tutorial and it looks like the proble lies somwhere in the domain configuration that needs to be very specific and set up in the .htacccess I will keep on trying different solutions