We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6918
    • 5 Posts
    Sorry if this is a stupid question. I’ve searched, but can’t find an answer to my specific problem. I’ve enabled friendly URL’s and changed my ht.access file to .htaccess as required. Now I can’t log into the manager. Change the file back to ht.access and I can (of course my friendly URL’s don’t work). What have I done??
      • 4041
      • 788 Posts
      note that there are 2 htaccess files which must be modified when using friendly urls.

      The one that goes in the site root, and then there is also one in the root of the manager folder which must also be renamed so that the url rewritng is turned off there. They must both be named .htaccess and then put in the appropriate place on the server.

      btw, welcome to the community wink

        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 6918
        • 5 Posts
        Thanks for the welcome and the advice. Unfortunately I’m still having problems. I renamed both files. When I go to log in, I don’t get an error message or anything - the page just doesn’t load. It just sits there. Probably not explaining myself very well. I wait and wait and nothing happens. Out of curiosity, I entered the URL of my website in the address bar. My edit links etc. are all visible, so it would appear that I’m logged in, but it just won’t take me to the manager page. Has anybody had a similar problem. Do I need to change anything in the .htaccess file. My installation is in the root directory. embarrassed
          • 4041
          • 788 Posts
          I have no ideas here, but I stumbled upon this post which is very similar:

          http://modxcms.com/forums/index.php/topic,1819.0.html
            xforum
            http://frsbuilders.net (under construction) forum for evolution
            • 6918
            • 5 Posts
            It’s all to hard for me I’m afraid. I don’t have any problems with my site loading. Just the manager interface. Just changed .htaccess in the root folder back to ht.access and came up straight away. I’ll work on it. How important are "friendly URL’s"?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              The .htaccess file affect the folder it’s in and all of its subfolders. So you rename the ht.access file in the root to .htaccess. Now all pages in the whole site will be affected. But you don’t want the manager pages affected. So there is another ht.access file in the /manager folder that simply turns off the rewrite engine. You need to also rename it to .htaccess. That’s all.

              If you have to ask why friendly urls are important, then they probably aren’t important at all for you.
                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
                • 6918
                • 5 Posts
                I’ve renamed both files and still have the same problem. I even went so far as to totally reinstall Modx. The problem must be caused by something else. I’ll search through the forums and see what I can find. For now, I’ll change the files back to ht.access and won’t use friendly URL’s sad
                  • 6918
                  • 5 Posts
                  Seems the problem is with IE. I asked a friend with Firefox to try logging in and he had no problems. I figured it must have something to do with some of the other stuff in the .htaccess file. I’m afraid I don’t know what most of it means. Just started commenting things out one by one. I changed php_flag zlib.output_compression On and it seems to work fine now. Just wish I knew what it meant embarrassed I’m learning as I go along.
                  Thanks