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

    I’d like to install modx in mysite.com/modx/ , instead of installing it directly in the root dir.
    But I’d like to have the site published in the root mysite.com/

    It’s just a matter of directory management, thus in the root I’d have:
    index.php (published site file);
    modx directory, with all the modx installation stuff;
    other directories not related to modx.

    (Moreover, it would be great to have sudomains directories in the root too, manageable by some modx plugin, i don’t know).

    Does anyone have a suggestion?
    thanks in advance
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Can’t do that, but you can install MODx in a subdirectory and use .htaccess to rewrite; the ht.access file that comes with MODx has the proper entires and comments to do that.
        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