Let’s assume that you have installed the OpenCart at https://www.myopencartstore.com/shop and you want to move it to https://www.myopencartstore.com/eshop
To move the OpenCart from one folder to other, you will have to edit the following two files.
http://www.myopencartstore.com/shop/configure.php
and
http://www.myopencartstore.com/shop/admin/configure.php
In both these files, you will find following lines that should be modified:
// HTTP
define('HTTP_SERVER', 'http://myopencartstore.com/newfolder');
define('HTTP_IMAGE', 'http://myopencartstore.com/newfolder/image/');
define('HTTP_ADMIN', 'http://myopencartstore.com/newfolder/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://myopencartstore.com/newfolder/');
define('HTTPS_IMAGE', 'http://myopencartstore.com/newfolder/image/');
// DIR
define('DIR_APPLICATION', '/home/username/public_html/newfolder/catalog/');
define('DIR_SYSTEM', '/home/username/public_html/newfolder/system/');
define('DIR_DATABASE', '/home/username/public_html/newfolder/system/database/');
define('DIR_LANGUAGE', '/home/username/public_html/newfolder/catalog/language/');
define('DIR_TEMPLATE', '/home/username/public_html/newfolder/catalog/view/theme/');
define('DIR_CONFIG', '/home/username/public_html/newfolder/system/config/');
define('DIR_IMAGE', '/home/username/public_html/newfolder/image/');
define('DIR_CACHE', '/home/username/public_html/newfolder/system/cache/');
define('DIR_DOWNLOAD', '/home/username/public_html/newfolder/download/');
define('DIR_LOGS', '/home/username/public_html/newfolder/system/logs/');
In the above lines replace myopencartstore.com with your domain name, username with cPanel username and new folder with the directory name where your OpenCart is installed.
Related: Changing URL Of Your OpenCart Shopping Store
If you are not able to change the folder, contact us our team will fix it for you.
If you are looking for a quality OpenCart hosting provider, visit MilesWeb.