We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46886
    • 1,154 Posts
    It might be your hoster as well, I had to really push my hoster to work out all the ssl kinks. It was quite a pain to be honest

    You can check here and there are other sites to check the ssl

    https://www.sslshopper.com/ssl-checker.html

    Good luck, you will get there
    • Bit of a long shot, but if your host uses separate httpdocs and httpsdocs directories, you may need to make sure those are linked together so they both run the same files. Not sure how the homepage would still work if that were the case.. but could be worth double checking.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 54362
        • 6 Posts
        Thanks for your reply Mark. I have not been able to find separate httpdocs and httpsdocs directories on the host, so I don't think they are split.

        Just a quick update.

        nuan88, you could be right re. the hoster (but I hope not as that is going to be a pain).

        This morning I did the following:

        • Created a test subdomain (different server and hosting - just to be safe).
        • Added a new SSL certificate.
        • Installed a fresh MODX installation (latest version at the time of writing was 2.6.4-pl)
        • Used @nuan88's .htaccess file
        • Set server_protocol to https
        • Enabled friendly_urls
        • Created a couple of dummy templates and pages to check linking works etc

        And it all worked!

        Now for the hard part of tracking down what the differences are. It looks like I am going to have to (re)install MODX on top of an existing certificate.
        • discuss.answer
          • 46886
          • 1,154 Posts
          Well at least you are a little closer. Its tough because ssl can break anywhere. Every link must be specified as https or everything is broken.

          Are you watching the developer's console when the page loads? That might tell you something.

          Good luck
            • 54362
            • 6 Posts
            I can finally report a resolution to this problem. It was, as nuan88 suggested, a hosting issue after all. It turned out that cPanel and WHM had an Options line in the <Directory> block that was not set correctly. Obviously that trumps .htaccess settings.

            Thank you all for the quick responses. Hopefully, if I need to post again, it will actually be a MODX problems smiley
              • 46886
              • 1,154 Posts
              Lol glad you got sorted. Its a frustrating process