Magento的HTTPS重定向到http主页 [英] Magento Redirect https to http home page

查看:457
本文介绍了Magento的HTTPS重定向到http主页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌已收录我的网站的主页以https。但是,我需要重定向HTTPS访问http仅此页面。我使用的Magento,今天我有删除我的域名的htaccess的WWW的规则。每一条规则我创建重定向HTTPS到HTTP的主页没有工作。
任何人都有一个解决方案吗?
谢谢

Google has indexed the home page of my website with https. But I need to redirect https to http only this page. I'm using Magento and today I have a rule that removes the htaccess www of my domain. Every rule I created to redirect the main page of https to http didn't work.
Anyone have a solution?
thank you

推荐答案

尝试

#Redirect your Homepage from HTTPS to HTTP
RewriteCond %{HTTPS} on
RewriteRule ^$ http://%{HTTP_HOST} [L,R]

请参阅 http://www.activo.com/重定向-HTTPS到HTTP换任何-主页/

这篇关于Magento的HTTPS重定向到http主页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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