Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.14.3.7. Change site address in OpenCart
This article describes the steps for changing the site address only within OpenCart itself. To rename the site on the hosting, see Rename site.
-
- Replace the old site address with the new one in the lines with the parameters
HTTP_SERVER,HTTPS_SERVER,HTTP_CATALOGandHTTPS_CATALOG. - Edit the paths to the site root directory in all lines with parameters starting with the prefix
DIR_(DIR_APPLICATION,DIR_SYSTEM, and so on).
- Check the site operation.
Alternatively, you can replace the standard configuration files with universal ones, substituting your database connection credentials in them.
(1)