Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a page that redirects to another page I'm trying to test my url on: https://developers.facebook.com/tools/debug

I get this error:

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.?
  1. How can I fix this problem?
  2. How to detect Facebook and, if it is Facebook, don't redirect?
question from:https://stackoverflow.com/questions/8229656/how-to-fix-facebook-circular-redirect

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
106 views
Welcome To Ask or Share your Answers For Others

1 Answer

I just resolved this by adding a "/" to the end of the Facebook url meta tag. So, changed

<meta property="og:url" content="http://domain.com/path"/>

to

<meta property="og:url" content="http://domain.com/path/"/>

and that did the trick!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...