We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17167
    • 7 Posts
    That absolutely did the trick Paul -- thanks so much!

    So my next question (and hopefully the last for a while) ... as mentioned in post #1, I’m doing this site for a friend. I was simply going to put it in a subdirectory of my own site and then re-upload it to his hosting company ... but now that I’m reading material on modx and finishing the install, it doesn’t seem lik this is not like an html page that I can just ftp to another host. Also, I read another post in the forum from a beginner that couldn’t get modx to install in a sub-directory.

    What should I do here? Is it okay to install in a subdirectory while I create it then transfer it, or is that a big headache. Should I bite the bullet and purchase the hosting site for my friend (they’ll pay me back) and only start work on their site??

    Thanks!
      • 3749
      • 24,544 Posts
      MODx will normally install fine in a subdirectory (the site in my sig is in a subdirectory).

      Another option is to install it on your local machine using XAMPP for development, then move it to its final site.
        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
        • 17167
        • 7 Posts
        BobRay, any instructions for installing in a sub-directory? Do I actually do the INSTALL there (for example, upload the program in the sub-directory and keep the install file there instead of the root or public_html directory?

        Also, can I password the directory (temporarily) and still use the program or does that complicate things too much? There is a privacy issue at the moment.

        Thanks!
          • 3749
          • 24,544 Posts
          Quote from: lindagal2 at Oct 25, 2009, 06:43 PM

          BobRay, any instructions for installing in a sub-directory? Do I actually do the INSTALL there (for example, upload the program in the sub-directory and keep the install file there instead of the root or public_html directory?

          Also, can I password the directory (temporarily) and still use the program or does that complicate things too much? There is a privacy issue at the moment.

          Yup. Just install the modx files in the subdirectory, like this:

          public_html
          subdirectory
          assets
          manager
          install
          etc.

          As for privacy, I don’t think it’s practical to protect all the directories, but remember that in MODx, all the sensitive content is in the database. If you leave all the pages unpublished, you can still preview them via the Manager but they won’t be available to anyone else.

          To make them extra secure, you can create a single web document group and a single manager document group and add all pages to those groups. Then make yourself the only member of a web user group and a manager user group that are each connected to those document groups. You’ll be the only one who can see them, and you’ll only see them when you’re logged in.
            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