We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28528
    • 31 Posts
    I feel a bit embarassed that I can’t answer this myself sad

    I’m integrating MODX into a ’live’ site which has an existing index.php page
    Until I’ve finished the testing I need modx to use a different default page, say something like index2.php
    Is this possible and if so can someone please tell me how!

    Thanks
    Steve
      • 25663 MODX Staff
      • 12,272 Posts
      That would take a ton of work and QA to pull off. I don’t know of anyone having ever done this.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 10487 MODX Staff
        • 1,535 Posts
        If the old site is to eventually disappear, you’d be better off installing MODx into a sub-directory for testing and then promote it to the web root when you’re ready to nuke the old site.

        Depends a lot on exactly how you are integrating the site ...
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
          • 26931
          • 2,314 Posts
          I’m integrating MODX into a ’live’ site

          what do you mean by "into"? if you just want to develope your modx site while the old one is still running on that serer, you could install modx in a subfolder and move it to the root when you’re finished

          *edit: ups, too slow smiley
            • 20413
            • 2,877 Posts
            Can the old site be index.html? Then you could set the order
            .htaccess
            DirectoryIndex index.html index.php


              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 28528
              • 31 Posts
              Thanks for your help guys. Looks like I’ll have to use a sub directory then. I was hoping there would be another way. Means I’ll have to change a load of paths in another application which is already in a sub directory :-(
                • 3749
                • 24,544 Posts
                Many people develop MODx sites on their home machines using something like XAMPP. Once the site is working, they move it to the remote location.
                  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
                  • 15083
                  • 697 Posts
                  Quote from: BobRay at Sep 16, 2009, 06:07 PM

                  Many people develop MODx sites on their home machines using something like XAMPP. Once the site is working, they move it to the remote location.


                  This is fraught with danger! Hosts always have different versions of php/mysql etc. Migration can be a pain...
                  I go with a stopap domain, so the site is developed where it will sit. Simple change the dns and bob’s your fathers brother smiley