Hi Guys,
I’ve installed MODx on a subfolder of my server to keep their current static website live while we fill the new website with content and set it up. I might have this wrong, but would it suffice to modify htaccess to rewrite to /website/index.php (/website being the subfolder where it’s installed) instead of index.php? If not, what settings would I need to change?
Thanks!
I think you would need the RewriteBase to /website and if i’m right everything
should work then...
And re-run setup in upgrade mode.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Re-run setup? Only for the core-config variables right..?
Is "upgrading" the easy way to go...or the only way? (i might have to do this in the feature)
Well you can edit all the core.config.php files and core/config/config.inc.php manually, but we don’t recommend it. It’d be much easier to just run setup in upgrade mode.
Note: you might also have to change the default workspace path in the modx_workspaces table; that might be a bug in RC-3.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Yea that’s what i thought...or course an upgrade would be the clean way to go!
It’s nice that it is possible that way...thanks for your answer.
Thanks for the reply guys. So I should leave everything as is, modify the RewriteBase to /website and then run an upgrade. What paths do I need to alter during setup? The current installation is in the folder /website/...
If you are moving the complete site to /....then everything that was /website = now /...
If you are leaving the site in /website/ but only want to run it in the root...then i still
think everything should be /website....are you planning on moving the site to the root or
leave it in it’s current directory?