Facebook debugger reports “Circular redirect path detected” (301) on certain website

末鹿安然 提交于 2020-01-04 06:06:13

问题


Why isn't the Facebook debugger able to parse http://www.brandenburg-business-guide.de/ ? It reports 301 Circular redirect path detected. However, there is actually no redirection in place. Also apache's access.log reports no retrievals by facebook.

See https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.brandenburg-business-guide.de%2F and hit Debug button.


回答1:


The page does not contain any OpenGraph meta tags. Check out the documentation.

Facebook scraper expects the page to contain og:url meta tag which will serve as the canonical url OR link tag with rel="canonical". Since the document is missing both, Facebook cannot decide what is the canonical url, hence the circular redirect path error.

For a reference, try Goodreads debugging information.

Hope this helps.



来源:https://stackoverflow.com/questions/22226981/facebook-debugger-reports-circular-redirect-path-detected-301-on-certain-web

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!