We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10208 ☆ A M B ☆
    • 1,780 Posts
    Anyone else seeing the manager url opening the site itself instead of the manager occasionally? Attempting to load the manager login url actually redirects to the site url.

    It's occurred on different sites on different servers for me, and sometimes reloading the url again works, sometimes not. Clearing browser cache sometimes fixes it, sometimes not. Sometimes I can get to the login page in another browser, log in and then am able to get to the login page in the non-working browser again. Like it resets itself somehow if I log in.

    I haven't paid true attention to how I get the manager login page back because every time I see this I just need to log in and try various methods, which eventually work.
      Frogabog- MODX Websites in Portland Oregon
      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
      Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • 5340
      • 1,624 Posts
      can you keep firebug open and see if you get any 404 errors?
        • 10208 ☆ A M B ☆
        • 1,780 Posts
        I will try that next time I see it. Is the manager redirected to id 1 for 404? That seems odd...
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 5340
          • 1,624 Posts
          Quote from: frogabog at Dec 01, 2012, 03:58 PM
          I will try that next time I see it. Is the manager redirected to id 1 for 404? That seems odd...

          I think the links are not properly generate and if you don't have a 404 page configured you will get redirected to the home page.
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            I know that's true for the front end, but seems odd that the manager would also redirect to the front end and not a manager error page. I've never seen anything in the docs or elsewhere that mentions setting up a special error page for the manager, although that in no way means it doesn't exist and I missed it.

            hmmm...
              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster
              • 5340
              • 1,624 Posts
              For me it happened like this after an upgrade:
              1. Some manager files where not accessible so the page was not properly rendered
              2. When I clicked a anything in the manager I would get redirected to the 404 page I configured for the frontend.

              Could be something else in your case.
                • 10208 ☆ A M B ☆
                • 1,780 Posts
                I'm fairly sure that at least two sites that I've seen this with have unique error pages configured and thus don't even redirect to id 1.

                Problem is, this error is intermittent and I'm not seeing it now. It also clears up rather quickly with the methods I described above.
                  Frogabog- MODX Websites in Portland Oregon
                  "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                  Having server issues? These guys have MODX Hosting perfected - SkyToaster
                  • 7239
                  • 14 Posts
                  I have a site that is doing this permanently, and I am desperately trying to figure it out. Any suggestions? maybe it will help determine what is happening intermittently on your sites?
                    • 10208 ☆ A M B ☆
                    • 1,780 Posts
                    I can't get any of the sites to do it now. Rats...
                      Frogabog- MODX Websites in Portland Oregon
                      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                      Having server issues? These guys have MODX Hosting perfected - SkyToaster
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Quote from: frogabog at Dec 01, 2012, 04:15 PM
                      I know that's true for the front end, but seems odd that the manager would also redirect to the front end and not a manager error page. I've never seen anything in the docs or elsewhere that mentions setting up a special error page for the manager, although that in no way means it doesn't exist and I missed it.

                      hmmm...
                      Any request that isn't found will be redirected to the "error" page. If the server doesn't find the file requested, then it obeys the rewrite directives in the .htaccess (or whatever the web server uses for this if not Apache) and hands the request over to MODx. If MODx doesn't find the resource requested (ID or alias) then it redirects to the "error_page". The only time you would get the system "not found" page would be if the .htaccess had the /manager directory excluded from the rewrite rules.
                        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