Move CMSms to an other directory

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
Eleco
Forum Members
Forum Members
Posts: 24
Joined: Tue Sep 18, 2007 1:16 pm

Move CMSms to an other directory

Post by Eleco »

Hi to all, I'm new of this forum.
I've installed CMSms 1.1.2 "Savaii" in a sub-directory of my site just to start playing and see how I liked it.
Now I'd actually like to move it in the root folder and start working with it, do I need to uninstall-reinstall it or I can simply cut-and-copy the files and change the path settings?
Thankyou.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Move CMSms to an other directory

Post by RonnyK »

Eleco,

yes it can be done, if you check on the forum for "move to root" you'll find several posts. Basically if you move the folders/files to the other folder, you need to change the config.php to reflect the new path to CMSMS and other files.

Backup before you do so.....

Ronny
Pierre M.

Re: Move CMSms to an other directory

Post by Pierre M. »

There is another option too : RewriteBase (search...) if you can setup a .htaccess for URL rewriting.
I even think it is better to keep CMSms in a subdirectory. But it may taste another way to you.

Pierre M.
User avatar
Eleco
Forum Members
Forum Members
Posts: 24
Joined: Tue Sep 18, 2007 1:16 pm

Re: Move CMSms to an other directory

Post by Eleco »

Thankyou to both for the quick answers.

I'll search the forum for "move to root" as RonnyK suggested, but I'm also interested in what PierreM is saying.
Why do you feel is better to keep CMSms in a sub directory? It sounds better to me because I'm thinking of having a different home page, not based on CMSms, is this a good reason?
I can setup a .htaccess  but I don't know which is the command for url rewriting.
:) Thanks.
User avatar
Eleco
Forum Members
Forum Members
Posts: 24
Joined: Tue Sep 18, 2007 1:16 pm

Re: Move CMSms to an other directory

Post by Eleco »

Eleco wrote: I can setup a .htaccess  but I don't know which is the command for url rewriting.
I found this out searching the forum, but I'm still interested in your opinion on why it can be usefull to have CMSms in a sub-directory...
Pierre M.

Re: Move CMSms to an other directory

Post by Pierre M. »

Thank you for having searched (and found by yourself) first.

Thanks for your interest too. Here are some "pro subdirectory statements" of my opinion (own taste) :
-as you have said, it leaves your root web folder empty hence more simple.
-if you integrate several softwares this way (see cmsmadesimple.org) each doesn't interfere with others. The software separation makes things less buggy than an ugly mix. Sometimes a big win when you add a shopping cart, a netpayment, etc.
-the real name of the CMSms folder is truely hidden (not only obfuscated) from the outside. It hardens things a bit against attacks.
-it leave the door open for other things, like Apache mod_cache setup (but only limited to your imagination : it currently can be used to build mutilanguage sites too by consolidating several CMSms instances). etc.
Hope this answers your question.
Have fun with CMSms

Pierre M. (edit : typo)
Last edited by Pierre M. on Wed Sep 19, 2007 8:05 pm, edited 1 time in total.
User avatar
Eleco
Forum Members
Forum Members
Posts: 24
Joined: Tue Sep 18, 2007 1:16 pm

Re: Move CMSms to an other directory

Post by Eleco »

Very interesting! Thankyou very much for sharing your experience. :) I'll defenitely think about it.
See you!
Locked

Return to “[locked] Installation, Setup and Upgrade”