Move website from subfolder to rootfolder?

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
okp
Forum Members
Forum Members
Posts: 16
Joined: Mon Jan 14, 2013 10:08 pm

Move website from subfolder to rootfolder?

Post by okp »

I have installed cmsms for now in a subfolder called ..public_html/cms/
Can I move the whole site to the rootfolder ..public_html once I finnished everything? if yes, is that just copy paste of all, or do I need to edit some files?path?

thx

Eric
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

Re: Move website from subfolder to rootfolder?

Post by frankmanl »

Why move it? You probably don't want to see a URL like "http://www.yourdomain.com/cms/page but rather "http://www.yourdomain.com/page?
That can be done using an .htaccess file.
Have a look at the Tips & Tricks: http://forum.cmsmadesimple.org/viewtopi ... =4&t=64779
No need to move your files.
Last edited by Dr.CSS on Thu Jan 31, 2013 7:58 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
okp
Forum Members
Forum Members
Posts: 16
Joined: Mon Jan 14, 2013 10:08 pm

Re: Move website from subfolder to rootfolder?

Post by okp »

OK, looks fine to me, that will probably work.
BUT, will that not effect search engines like Google? as the index page is not in the root folder?

thx

Eric
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Move website from subfolder to rootfolder?

Post by paulbaker »

Yes frankmanl is right, you don't have to move it. But I do anyway, I prefer to have it in the right place rather than have rules in htaccess - just personal preference really.

To move it, just zip the whole cms directory up, keep a copy as a backup and unzip it in the root. The database will still work OK but you might find you have to change some paths in your CSS or templates - just click around your site; you'll soon see if you need to.
Locked

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