We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51756
    • 6 Posts
    I moved my site to a new server. When moving, I dumped the database and imported it into the new one on the new server so all tables are identical.

    I made all of the changes I could by doing search and replaces in the database and all of the templates and chunks to change the domain. The home page is working. The manager is working. Everything seems to be working. But when I go to any page other than the home page, I get a 404 error. The base URL is set on the template. All of the settings have been carried over.

    Is there something I specifically need to change?
    • what version of MODX?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 51756
        • 6 Posts
        It's 2.4.2.
        • There are three config.core.php files, one in the site root, one in the connectors folder, and one in the manager folder.

          The core/config/config.inc.php has several lines that need to be edited, starting around line 23. Don't forget the $modx_assets_path and &modx_assets_url near the end of the file, around line 75.

          Delete all of the folders in the core/cache folder. Make sure to clear your browser cache and cookies for the domain.

          It wouldn't hurt to download MODX again and put the setup folder in your site root, and run it in Upgrade mode.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 51756
            • 6 Posts
            That worked! Thank you!