We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36632
    • 202 Posts
    Hi,

    I developed a 2.1.3 site in site.tld.com. What's the best way to "install" it in the TLD directory?

    I have a VERY small window of time to do this.

    I was thinking:
    1) Move existing TLD Evo files into some directory
    2) Move the Revo 2.1.3 directories into the www.TLD root directory
    3) Running the installer in upgrade mode so that it write the current info.

    Does this sound about right? Anything I should do?
      • 22303 MODX Staff
      • 10,725 Posts
      Why not just change the virtual host configuration to point at the existing directory? Just empty the cache directory after doing so and you shouldn't need to change anything that way.

      If you must move it, you'll need to upload and rerun setup in upgrade mode, or follow the instructions at http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
        • 36632
        • 202 Posts
        Good point. The reason I can't change virtual hosts is because a new security certificate is for only the www.tld.com (though I requested it be for *tld.com)

        Speaking of SSL, is there a way tohave the http change to https when a user logs in? I'm totally new to this. The server is set up so that... maybe I'll just move all the files to https directory and update the core/config file...

        Thanks for the link. I often forget to look there for help.
          • 36632
          • 202 Posts
          My porting went very smooth. Thanks for the link. You might want to modify/append this line from http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

          MODX Revolution caches a lot of information in the database and on the file system

          I did run into the "could not find action file" message. I deleted all of the files in the core/cache directory. That was the final major step.

          The very last step was resetting FURLS in system settings and renaming ht.access.

          Thank you for helping this go smooth!