HTTPS Facebook URL The URL URL requested an HTTP redirect, but this could not be done

I continue to receive this warning in the Facebook debugging tool for my pages from my site on which I want to share. The URL requested an HTTP redirect but failed to complete it.

after I scan everything that usually turns out fine, with a description, picture, title, etc.

the problem is that someone uses the Facebook share button on the site itself, its blows or misses, sometimes it works fine and shares properly, and in other cases nothing is displayed, there is no title, image, only URL.

I think this is due to the fact that my site is https

heres url example https://plugmatch.com/singlepost/312 , and I get errors on it, I know that if I redo it, it will probably fix it, but it’s not, I need it when users of my site what it’s shared that he is sharing.

any ideas

+4
source share
1 answer

I ran into similar problems and cannot say that one will solve, but try the following:

  • use api v2.9. (fb has recently deprecated an earlier version. I think you're ok with 2.6)
  • change your meta = "og: url" property to:
    content = "http s : //plugmatch.com/"

(added 's' to 'http' and '/' at the end of the url)

  • , og: url - , , .
+1

Source: https://habr.com/ru/post/1680366/


All Articles