Store
Community Documentation

v3 Knowledgebase

Moving the development site to the production site

Moving from development to production

From a sub-folder

If your development site is in a subfolder of your main site, moving it is quite easy:

  • Copy (safer than move) your existing files over to the new location
  • Tell the script where he is now by editing the /include/setting/server.sett.php, in there look for:
$_CONF['core.folder'] = '/your/old/path/';

and change it for the new path:

$_CONF['core.folder'] = '/';

The value must start and end with a slash if there is any folder, otherwise no duplicates are needed. The script connects to the database directly, regardless of where in the file structure it is so there is no need to edit the database user.

.htaccess file

If you use short urls you will also need to reset your /.htaccess file, in that file look for:

RewriteBase /your/old/path/

and match it to your other value in the server.sett.php file:

RewriteBase /