Change the installation-folder

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
Jarska
New Member
New Member
Posts: 2
Joined: Thu Jul 04, 2013 2:53 pm

Change the installation-folder

Post 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?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Change the installation-folder

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Change the installation-folder

Post by paulbaker »

Also you need to define
it didn't work
In what way....error messages? Broken links/images?.....
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Change the installation-folder

Post 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...
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Change the installation-folder

Post by Rolf »

Clear cache
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Locked

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