【发布时间】:2014-12-17 17:27:15
【问题描述】:
我有一些需要覆盖的 URL,因此如果有人查看源代码,他们实际上无法在 Magento 中看到产品图像的真实 URL。目前,链接为
externalsub.domain.com/images/image123.jpg
我想变成这样
mydomain.com/images/image123.jpg
如何通过 .htaccess 实现这一点?非常感谢任何帮助!
【问题讨论】:
-
你的 apache 服务器中加载了 mod_proxy 吗?
-
我在 apache 上有 mod_proxy。
标签: .htaccess magento url-rewriting