我有一个重定向到另一个页面的页面 我正在尝试测试我的网址: https://developers.facebook.com/tools/debug
我收到这个错误:
Errors That Must Be Fixed:
Circular Redirect: Circular redirect path detected (see Redirect Path section for details).
Warnings That Should Be Fixed:
The og:url property should be explicitly provided, even if a value can be inferred from other
tags.
- 我该如何解决这个问题?
- 如何检测 Facebook,如果是 Facebook,则不重定向?
最佳答案
我只是通过在 Facebook URL 元标记的末尾添加一个“/”来解决这个问题。所以,改变了
<meta property="og:url" content="http://example.com/path"/>
到
<meta property="og:url" content="http://example.com/path/"/>
成功了!
关于facebook - 如何修复 Facebook 循环重定向?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8229656/