【发布时间】:2020-08-31 16:38:19
【问题描述】:
我有一个 WordPress 网站,网站链接运行良好。最近两天,突然发现网站链接重定向到主页而不是目标链接页面。我检查了链接代码,没关系。我检查浏览器中的链接,发现所有链接的代码都发生了变化:
<a href="https://example.com" ohref="https://example.com/%d8%a5%d8%aa%d8%b5%d9%84-%d8%a8%d9%86%d8%a7/">اتصل بنا</a>
这意味着ohref 属性中的正确链接代码和href 中的替代链接代码,因此所有链接都会打开 href 属性中域的主页。
解决方案是什么?是什么导致了这个问题?
【问题讨论】:
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。
标签: hyperlink href permalinks location-href broken-links