How to change URL of Opencart shopping cart

Please follow the below steps:

Step 1: First secure the back up of your config file in your local,

Step 2: Target below 2 files:


admin/config.php file.

Step 3: Replace the new URL with old one.

Step 4: Modify the define DIR to correct path.

Step 5: Keep as it is the database config if no changes has been made.

Step 6: Save the changes you have made.

Step 7: Open your Opencart shopping cart with new URL in web browser.


  • Opencart, shopping cart, URL, online store, cart
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to secure your WordPress?

WordPress is an open-source application so security level issues you may face but Do not worry...

Install themes into the wordpress

What is the WordPress theme? A WordPress Theme is a collection of files that work together to...

Top 5 e-commerce applications

What is e-commerce?   E-commerce (electronic commerce) is the buying and selling of goods and...

How to Install Wordpress Website?

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL....

How To Check DotNetNuke Install Instance Version?

> Please login to your DNN site with your host account. > Please Navigate to Host >...