Change Store URL

To change a Zen Cart website from a temporary domain name to the live domain name requires an edit of configure.php.

This setting is managed in the configuration files located at:
/includes/configuration.php
and
/ADMINDIRECTORY/includes/configure.php

Where ADMINDIRECTORY is replaced by the name of your admin directory. Note it is good practice to give your admin directory an obscure name.

Download the file using FTP. Within the file look for the HTTP_SERVER definition, for example: define(‘HTTP_SERVER’, ‘http://www.example.comk/myShop’);

Change this entry to the new shop URL and put the file back in place again with FTP. define(‘HTTP_SERVER’, ‘http://www.example.com/);

It is likely that there is more than the one entry in the configuration.php file which needs to be changed.

Once you have made the changes FTP the file back into place. Its possible that you won’t see the changes for a while. You’ll need to wait whilst the caching updates the change to the shop URL.