Changing URL of your OpenCart site

Please refer to the steps below to change the URL of your OpenCart site.
Please note to backup the configuration file before editing it.

1. Locate config.php file in the main directory and /admin directory.
2. Edit config.php file, replace old URL with the new URL in the file.
3. Change define DIR if neccessary to the correct location.
4. Leave the DB configuration if no changes in the database path.
5. Save changes and visit your website with the new url.

* Both config file is different , do not misplace it.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Adding MIME Types for OpenCart Site

Please follow the steps below to add MIME Types for your OpenCart site. 1. Log in to your...

Install Joomla using Softaculous

Please follow the steps below to install Joomla using Softaculous: 1. Login to your hosting...

Install script applications using Softaculous

Softaculous provides an easy way to install open source scripts such as Wordpress, Joomla,...

Joomla 1.0.x compatibility issue with PHP 5.3.x

Content not showing on some pagesand the error message is related to function.php files. Go to...

Installing open-source web application such as Joomla, WordPress and more...

  Open source scripts such as Joomla, WordPress, OpenCart, Drupal and many more can be easily...