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

    I've create a pt context and I defined the context settings but when I run the document of the pt context appear the homepage of the web context.

    Please could you explain me why that is happen?

    Thanks
      • 3749
      • 24,544 Posts
      That usually means that either

      1. the current user does not have permission to see the context or the document.
      or
      2. The context settings are incorrect (check the URL the browser is going to)

      Do you have either Context Access ACL entries protecting the Context or Resource Group Access ACL entries protecting the Resource?



      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 27449
        • 211 Posts
        Thanks for your answer smiley

        By the way, I'm using the Revolution 2.2.1-pl, in the access control of the new context I have:

        group: (anonymous) autority:9999 rule: Load only
        group: Administrator autority: 0 rule: Administrator

        I would like that the default context don't have folder like:
        http://www.mydomain.com
        And the other context
        http://www.mydomain.com/folder/

        It's possible?

        And in the .htaccess file I have in the friendly url the code below:

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(en|pt)?/?(.*)$ index.php?cultureKey=$1&q=$2 [L,QSA]