Forums / Upgrading to 2.x.x / What files need to be changed when you go live from a sub-folder

What files need to be changed when you go live from a sub-folder

Views: 1,936

Results 1 to 2 of 2
27 Feb 2026, 6:58 PM
#1
dan4store avatar

dan4store

New Zenner

Join Date:
Apr 2025
Location:
NC
Posts:
31
Plugin Contributions:
0

What files need to be changed when you go live from a sub-folder

I have up graded from zc-1.5.5f to 2.1.0 (And is a wonderful upgrade) The 1.5.5 was running on php7.xx and the new 2.1.0 has to run on php8.3. So I needed to put 2.1.0 in a testing subfolder and my question is, what files beside the two configure.php need to changed?

27 Feb 2026, 7:46 PM
#2
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: What files need to be changed when you go live from a sub-folder

The two configuration files, configure.php, are all that need to be changes. I would point it at a different database.
define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_CATALOG', '/
/');
define('DIR_FS_CATALOG', '/PathToYourDirectory/***/');

If you take your existing configure.php file and add your subdirectory to the end of each of the fields above. I run my site in a subdirectory https://innerlightcrystals.co.uk/sales/ So in my set up I replace the *** with sales.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\