We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27210
    • 158 Posts
    Running MODX Revolution 2.5.2-pl

    One of my clients is changing his domain name. when i reassigned the primary domain name at the hosting service i couldn't login to the MODx Manager.

    I have not worked on this site in years other than to update it so i'm a bit rusty on MODx.

    I have looked at the system settings but i don't see anything there.

    Any help would be appreciated.
    Thanks
    Steve
      • 28432
      • 372 Posts
      Hi,

      You have to change the config file :
      root/core/config/config.inc.php (2 places)

      And you have to change all (web, ...) the context too.

      PS : give a test to your form in the front office.

      I hope this help.
        • 27210
        • 158 Posts
        Thank you Steeve - one more question - where you say "...change all (web,...)..." do you mean in the MySQL database?

        Also, thanks for the heads up on the form. i somehow just broke that.

          • 3749
          • 24,544 Posts
          You may also need to change the three config.core.php files (root, manager, and connectors directories), and in some cases the RewriteBase line in .htaccess (usually not).

          Sometimes, just running Setup at the new site will straighten things out, so you might want to try that first, but make sure the setup directory comes from the exact same version of MODX.
            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
            • 27210
            • 158 Posts
            Quote from: BobRay at Jan 03, 2017, 03:40 PM
            You may also need to change the three config.core.php files (root, manager, and connectors directories), and in some cases the RewriteBase line in .htaccess (usually not).

            Sometimes, just running Setup at the new site will straighten things out, so you might want to try that first, but make sure the setup directory comes from the exact same version of MODX.

            Thanks Bob Ray!!!
              • 28432
              • 372 Posts
              Sorry i was busy !
              I'm glad you find help from Bob ;-)