Knowledge Base
MilesWeb / OpenCart FAQ

Changing url of your OpenCart Shopping Store

Approx. read time : 1 min

This has been  tested with open cart 1.5.x . You need to backup the config file before editing it.

  • Locate config.php and admin/config.php file.
  • Find the old URL and replace with the new URL
  • Change define DIR if neccessary to the correct location
  • Leave the DB configuration if no changes in the database path.
  • Save changes and visit your OpenCart store with the new url.

For all your other queries on OpenCart Hosting, please visit

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.