To change the URL store in OpenCart:

  1. Log in to the cPanel administration panel
  2. Open the File Manager and navigate to the directory where you installed the OpenCart application
  3. Locate the config.php file

Find:

// HTTP
define('HTTP_SERVER', 'http://examplu.tld/');

// HTTPS
define('HTTPS_SERVER', 'http://examplu.tld');

4. Modify example.tld with the desired link and save the changes

5. In the config.php directory from the /admin directory, identify the lines:

// HTTP
define('HTTP_SERVER', 'http://examplu.tld/admin/');
define('HTTP_CATALOG', 'http://examplu.tld/');

// HTTPS
define('HTTPS_SERVER', 'http://examplu.tld/admin/');
define('HTTPS_CATALOG', 'http://examplu.tld/');

6. Modify example.tld with the desired link and save.

 

If you encounter problems in applying the above instructions please contact us. HostX offers the best OpenCart web hosting service and can help you solve your problems.

Was this answer helpful? 0 Users Found This Useful (0 Votes)