We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Did you run setup at the new site (yoursite.com/setup)? If not -- do so.

    Do you have this tag in the head section of all templates?

    <base href="[[++site_url]]" />


    Try deleting all files in the core/cache directory, then clearing your browser cache and cookies (or using incognito or private mode in the browser).


      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
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Is that a default server 404 error message, or the MODX error message?
        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
        • 50131
        • 8 Posts
        Quote from: BobRay at Apr 05, 2015, 11:33 PM
        Did you run setup at the new site (yoursite.com/setup)? If not -- do so.

        Do you have this tag in the head section of all templates?

        <base href="[[++site_url]]">


        Try deleting all files in the core/cache directory, then clearing your browser cache and cookies (or using incognito or private mode in the browser).


        I've done all this. I'm really at a loss.

        Quote from: sottwell at Apr 06, 2015, 12:30 AM
        Is that a default server 404 error message, or the MODX error message?
        The default server 404 message, I believe.
          • 3749
          • 24,544 Posts
          Me too. When you can access the Manager but not the front end, it's almost always an issue with the .htaccess file, since it doesn't affect the Manager.

          Is there an index.html or index.htm file in the site root (there shouldn't be)?

          If you transferred the files individually with FTP, you may have a missing or corrupted file.



            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Are you sure that you have disabled Friendly URLs in the System Settings, then cleared the cache to make sure that all the links in your site are now in the the default "index.php?id=xx" form?


              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
              • 3749
              • 24,544 Posts
              Ironically, this just happened to me. The issue was the Rewrite Base line in the .htaccess file in the MODX root. Is your site in a subdirectory by any chance?
                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
                • 18373 ☆ A M B ☆
                • 3,141 Posts
                Quote from: jimzieg at Apr 05, 2015, 08:12 PM

                Quote from: BobRay at Mar 24, 2015, 11:48 PM

                Can you reach the home page by just going to yoursite.com?
                No, it just shows the folder in which the site resides.

                What exactly do you mean by that?
                  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.
                  • 50131
                  • 8 Posts
                  Quote from: sottwell at Apr 06, 2015, 10:52 PM
                  Are you sure that you have disabled Friendly URLs in the System Settings, then cleared the cache to make sure that all the links in your site are now in the the default "index.php?id=xx" form?


                  OK, that worked! Now the friendly URLs are gone. How do I get them back?
                    • 3749
                    • 24,544 Posts
                    There are only two steps to turning them back on. Rename the ht.access file in the MODX root to .htaccess and revert that friendly_urls System Setting to yes (then manually delete all files in the core/cache directory before testing).

                    Now that you've determined that the site works with FURLS off, if it doesn't work with FURLS on, the problem must be either in your .htaccess file (usually the Rewrite Base line), or a configuration problem at the host (usually because the Rewrite Engine is disabled or the host has things set up to ignore .htaccess).

                    Stuff like this is exactly why I always go with MODX Friendly Hosts. They usually don't cost any more, and even if they did, my time is worth too much to mess with a host that makes you jump through frustrating hoops to run 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