Opencart 2.3 url 不会在 config.php 中重写

Opencart 2.3 url doesn't rewrite in config.php

我想在试用期间将 opencart 安装到主机后进行 url 修改 periond.I 已阅读文章 https://www.namecheap.com/support/knowledgebase/article.aspx/9664/2182/how-to-change-opencart-url/ 并将所有内容重新命名为 url 我原来的域名代替分配试用url上传到hostind后config.php文件被修改回试用url我被提名before.I修改后猜测config.php我需要 运行 一些命令来使更改永久化。 如果有人知道解决方案请回复。

根配置文件:

<?php
// HTTP
define('HTTP_SERVER', 'http://uqsuscom.s56.yourdomain.com.ua/');

// HTTPS
define('HTTPS_SERVER', 'http://uqsuscom.s56.yourdomain.com.ua/');

// DIR
define('DIR_APPLICATION', '/sata1/home/users/uqsus/www/www.uqsus.com/catalog/');
define('DIR_SYSTEM', '/sata1/home/users/uqsus/www/www.uqsus.com/system/');
define('DIR_IMAGE', '/sata1/home/users/uqsus/www/www.uqsus.com/image/');
define('DIR_LANGUAGE', '/sata1/home/users/uqsus/www/www.uqsus.com/catalog/language/');
define('DIR_TEMPLATE', '/sata1/home/users/uqsus/www/www.uqsus.com/catalog/view/theme/');
define('DIR_CONFIG', '/sata1/home/users/uqsus/www/www.uqsus.com/system/config/');
define('DIR_CACHE', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/cache/');
define('DIR_DOWNLOAD', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/download/');
define('DIR_LOGS', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/logs/');
define('DIR_MODIFICATION', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/modification/');
define('DIR_UPLOAD', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/upload/');

// DB

管理配置文件:

<?php
// HTTP
define('HTTP_SERVER', 'http://uqsuscom.s56.yourdomain.com.ua/admin/');
define('HTTP_CATALOG', 'http://uqsuscom.s56.yourdomain.com.ua/');

// HTTPS
define('HTTPS_SERVER', 'http://uqsuscom.s56.yourdomain.com.ua/admin/');
define('HTTPS_CATALOG', 'http://uqsuscom.s56.yourdomain.com.ua/');

// DIR
define('DIR_APPLICATION', '/sata1/home/users/uqsus/www/www.uqsus.com/admin/');
define('DIR_SYSTEM', '/sata1/home/users/uqsus/www/www.uqsus.com/system/');
define('DIR_IMAGE', '/sata1/home/users/uqsus/www/www.uqsus.com/image/');
define('DIR_LANGUAGE', '/sata1/home/users/uqsus/www/www.uqsus.com/admin/language/');
define('DIR_TEMPLATE', '/sata1/home/users/uqsus/www/www.uqsus.com/admin/view/template/');
define('DIR_CONFIG', '/sata1/home/users/uqsus/www/www.uqsus.com/system/config/');
define('DIR_CACHE', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/cache/');
define('DIR_DOWNLOAD', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/download/');
define('DIR_LOGS', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/logs/');
define('DIR_MODIFICATION', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/modification/');
define('DIR_UPLOAD', '/sata1/home/users/uqsus/www/www.uqsus.com/system/storage/upload/');
define('DIR_CATALOG', '/sata1/home/users/uqsus/www/www.uqsus.com/catalog/');
define('DIR_PUBLIC', '/sata1/home/users/uqsus/www/www.uqsus.com/');

向托管支持提交技术问题后,他们解决了我 problem.Horayy!