在opencart迁移后,旧网址显示在网络中

时间:2016-06-06 09:41:25

标签: php html xampp migration opencart

从xampp迁移到普通主机后。旧文件在浏览器中显示在文件中是新的。如果在浏览器中手动将域名从localhost更改为新域名,则一切正常。

IMAGE 配置文件也很好,看起来其他一切正常



<?php
// HTTP
define('HTTP_SERVER', 'http://mydomain/admin/');
define('HTTP_CATALOG', 'http://mydomain/');

// HTTPS
define('HTTPS_SERVER', 'http://mydomain/admin/');
define('HTTPS_CATALOG', 'http://mydomain/');

// DIR
define('DIR_APPLICATION', '/home/name/public_html/admin/');
define('DIR_SYSTEM', '/home/name/public_html/system/');
define('DIR_LANGUAGE', '/home/name/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/name/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/name/public_html/system/config/');
define('DIR_IMAGE', '/home/name/public_html/image/');
define('DIR_CACHE', '/home/name/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/name/public_html/system/storage/download/');
define('DIR_LOGS', '/home/name/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/name/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/name/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/name/public_html/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'name');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'name_opencartas');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
&#13;
&#13;
&#13;

1 个答案:

答案 0 :(得分:0)

更改SITE_PATH/config.phpSITE_PATH/admin/config.php

内的路径