【发布时间】:2014-02-19 08:19:37
【问题描述】:
我们有一个 magento 网站 www.oursite.in,当我使用 http://www.oursite.in/mobiles.html 时,它工作正常(即 index.php 不是必需的/不会出现在 url 中)。
但是当我输入 https://www.oursite.in/mobiles.html 时,它显示 404 not found error https://www.oursite.in/index.php/mobiles.html 工作正常。
如何在 .htaccess 中为 https url 重写 url?
或
magento 中还有其他配置更改吗?
有人可以帮我解释一下吗?
【问题讨论】:
-
你好 Shathish,请转到 admin>system>configuration>Web 在安全和安全 url 下将基本 url 更改为 oursite.in
-
@AmitBera:我已经这样做了。
标签: .htaccess magento url-rewriting