We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53530
    • 3 Posts
    Recently i developed a new website with (modx 2.5.8) and everytime i log into the manager
    using the address for example: www.blah.com/manager
    It logs in but i dont get the resource tree and get an "undefined" in the top part.

    When i log in using blah.com/manager, everything loads and functions fine. So im like ok let me check one of my older sites
    this site uses modx (2.5.2) and i know for a fact www.blah2.com/manager worked with no problem.
    However this time round when i tried to log in i get the same exact error, even though I know this way worked before.

    Does anyone have any ideas why this would be happening? The only thing i have done server wise is switch the php version from 5.5 to 7
    reverting this does nothing.

    Any ideas?

    This question has been answered by stixen84. See the first response.

    • discuss.answer
      • 53530
      • 3 Posts
      Never mind found the issue
      it was all to do with .htaccess

      # Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
      RewriteCond %{HTTP_HOST} .
      RewriteCond %{HTTP_HOST} !^example\.com.au [NC]
      RewriteRule (.*) http://example.com.au/$1 [R=301,L]

      commented this out and everything is fine