我从Godaddy购买了ssl,但是域URL重定向有问题 [英] I purchased ssl from godaddy but domain url redirection have issue

查看:80
本文介绍了我从Godaddy购买了ssl,但是域URL重定向有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道我的设置有什么问题.我正在使用opencart 2.3.0.2.从我的cms设置中启用了ssl. 当我跑步时 https:sharishari.com 它工作正常. 我想当我或任何人输入我的域名sharishari.com时,都应重定向到https:sharishari.com 每次我必须用https编写完整的URL才能继续使用https时. 第二件事,当我写这篇文章时,它的视图是无响应的并且没有功能 sharishari + ctrl输入. 这是我的 根配置文件 我从域中删除了www 和管理员 配置文件 https://codeshare.io/2pAlLV 我刚刚分享了共享中排除的上述.db部分

i dont know whats wrong with my settings .i am using opencart 2.3.0.2 .Enabled ssl from settings of my cms. when i run https:sharishari.com it works fine. i want when i or any one enter my domain name sharishari.com it should redirect to https:sharishari.com each time i have to write complete url with https to go on https. and second thing its view is non responsive and non functional when i write sharishari+ctrl Enter . here is my root config file i removed www from the domain and admin config file https://codeshare.io/2pAlLV i just shared the above part .db part excluded in sharing

如果有人能解决我的问题,我将非常感激.最诚挚的问候

Please i will be very thankful if somebody sort out my problem.best regards

推荐答案

从打开的购物车中启用SSL之后,首先,您将必须更新目录和管理员的配置文件.您必须将链接编辑为"https".

After enabling SSL from your open cart backed, first of all, you will have to update your config files for both catalog and admin. You will have to edit link as "https".

除此之外,您还必须编辑header.tpl上提供的链接.只需找到所有"http"并将其替换为"https"即可.您可以在catalog/view/theme/themename/common/header.tpl中找到header.tpl

Apart from that, you will have to edit your links provided on header.tpl. Just find and replace all 'http' to 'https'. You can find header.tpl at catalog/view/theme/themename/common/header.tpl

希望有帮助.

这篇关于我从Godaddy购买了ssl,但是域URL重定向有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆