-
- 18 Posts
Hi guys,
MODx is currently installed under /modx/... but i’d like to change it to the root (/...).
Are there any cautions or paths to follow? Will I have problems with my current database, which I don’t want to lose?
Thx!
There’s a few parameters you’ll need to change in your site config, and if you’re using .htaccess you’ll need to update the path you altered in that file, but otherwise, it should be relatively painless. Unless you’ve got static paths on your images, of course.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
If you build your sites with all relative paths properly, there should be no issue, but your images, if using full paths, will need to be modified in your content. You don’t need to change any config settings unless you manually set them. All you need to do is move everything to the root, modify the .htaccess rule if you are using it, and you should be good to go. No installation/upgrade necessary.