We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48088
    • 2 Posts
    Hy everyone!

    I got some problems with contextes. I tried to copy one of my contextes for creating a new website inside modx with a different domain name.
    I followed the instructions from this site: http://www.belafontecode.com/modx-revolution-hosting-multiple-domains/
    but things didn't work out. Sites in the new created context display only (for example if i click on page preview) the main site from my default context. I changed the context parameters to:

    base_url: /
    error_page: 10
    http_post: mydomain.com
    site_start: 138
    site_url: http://www.mydomain.com

    Then i implemented the php code in the index.php for switching the context.
    I even checked the permissions. They are set to 9999 (load only) for anonymous and 0 for administrators.
    But still sites in this new created context won't show up.

    I hope you can help me!

    Thanks!

    Best regards,

    Mark





      • 40045
      • 534 Posts
      Which option from the post you mentioned did you choose? If you chose the subfolder option, do you have the .htaccess rules in place?
        • 48088
        • 2 Posts
        Quote from: exside at Jun 21, 2014, 11:39 AM
        Which option from the post you mentioned did you choose? If you chose the subfolder option, do you have the .htaccess rules in place?

        Hy,

        thanks for your reply!

        Rewriting the .htaccess rule did the trick. I guess i forgott about that.

        Thank you very much!