我在Opencart上有问题。在我的config.php文件中,定义了定义(‘HTTP’,'http://example.com/');在前端,http://example.com工作得很好,但是http://www.example.com不能工作
但是,http://example.com/admin和http://wwww.example.com/admin都工作得很好。这很奇怪。我是.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
RewriteBase /
发布于 2015-02-07 11:01:51
尝试编辑您的配置URL以匹配以下内容
公共Config
// HTTP
define('HTTP_SERVER', 'http://www.quickee.lk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.quickee.lk/');管理Config
// HTTP
define('HTTP_SERVER', 'http://www.quickee.lk/admin/');
define('HTTP_CATALOG', 'http://www.quickee.lk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.quickee.lk/admin/');
define('HTTPS_CATALOG', 'https://www.quickee.lk/');https://stackoverflow.com/questions/27455110
复制相似问题