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

    I've installed modx in a subfolder but I want to view it in root.
    I'm using 2.2, is there an easy way to do this? I know I could just use mod_rewrite, but is there another way?
    In wordpress there's a field to enter the new url and then all you have to do is copy the index file across to the root. Can something similar be done in 2.2?

    Thanks in advance! [ed. note: wilbobaggins last edited this post 12 years, 3 months ago.]
    • You can move the index.php to root, but you will need to make changes to your core/config/config.inc.php file, adjusting the modx_base_path, modx_base_url, and modx_site_url accordingly, as well as moving the .htaccess and config.core.php file, also adjusting any path references in the .htaccess along with the MODX_CORE_PATH location.

      With the advanced package, you can specify this location during setup.