我的 web 构建与 opencart 产品链接将域名链接到 href 中的锚标记中的本地主机,就像在代码中一样
<div class="product-image-wrap">
<div class="image">
<img src="/" title="Oyster Platters" alt="Oyster Platters">
<a href="http://127.0.0.1/https://thewebname.com/index.php?option=com_mijoshop&route=product/category&path=49">
<div class="item-content animate">
<p>Discover<img alt="arrow" src="/images/icones/arrow-white.png"></p>
</div>
</a>
</div>
</div>
我的.htaccess很干净,我也在数据库中的任何地方搜索了链接的正确位置:index.php?option=com_mijoshop&route=product/category&path=49
如果我将该链接放在任何浏览器的地址栏中
http://127.0.0.1/index.php?option=com_mijoshop&lang=en&order_id=6954&order_product_id=10879&route=account/order/reorder&Itemid=221
它将转换为
http://127.0.0.1/https://thewebname.com/index.php?option=com_mijoshop&route=product/category&path=49
我没有使用任何搜索引擎优化。
它只发生在产品上,而不是发生在所有网络上
欢迎来到这里
请检查您的两个配置文件.php http 和 https 设置正确
// HTTP
define('HTTP_SERVER', 'http://127.0.0.1/');
// HTTPS
define('HTTPS_SERVER', 'https://127.0.0.1/');
我想我的回答对你来说很拙劣。 如果你对我满意。 你可以标记答案。
谢谢