Page 1 of 1

Change the installation-folder

Posted: Thu Jul 04, 2013 3:04 pm
by Jarska
Hi all!

I was wondering, when I start to make a website for my client, I'll make a folder called "test", so my client can check the website before I'll publish it.

Well, the problem is when I start making a website, I'll make a path something like this: "http://www.something.com/test/. When the website was ready I was trying to publish it, so I tried to move all files to public_html-folder, then I test the site and it didn't work. Then I move files back to /test folder and it worked.

How can I fix that?

Re: Change the installation-folder

Posted: Thu Jul 04, 2013 5:30 pm
by Jo Morg
Check config.php for any hardcoded paths/url and fix or remove them (these aren't used on a default installation of CMSMS for quite some time and are only needed on special situations).
And, of course, go to the admin console and clear cache.

Re: Change the installation-folder

Posted: Thu Jul 04, 2013 5:43 pm
by paulbaker
Also you need to define
it didn't work
In what way....error messages? Broken links/images?.....

Re: Change the installation-folder

Posted: Thu Jul 04, 2013 6:36 pm
by Dr.CSS
Some times when moving to the root of site from subfolder you need to declare the root URL in the config.php file, or run yoursite.com/install/upgrade.php to fix any errant paths...

Re: Change the installation-folder

Posted: Sun Jul 28, 2013 11:46 am
by Rolf
Clear cache