Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could Not Follow Redirect Path

I was debugging open graph for my new website and I have the following error:

Could Not Follow Redirect Path and URL returned a bad HTTP response code.

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.webcilento.com%2Fsite%2Feventi%2Ffiera-di-prova.html

This error occurs only in calendar section (http://www.webcilento.com/site/eventi/fiera-di-prova.html)

I'm using Joomla 3.2.1

Any ideas?

like image 557
domfitty Avatar asked Nov 01 '22 08:11

domfitty


1 Answers

I think there is an error in the og:url open graph header which you have set.

The URL to your page is http://www.webcilento.com/site/eventi/fiera-di-prova.html but the open graph header says this:

<meta property="og:url" content="http://www.webcilento.com/site/site/eventi/fiera-di-prova.html" />

There is an extra "site/" part in that URL - Facebook is picking this up, visiting that URL which then returns a 404 - hence the "bad HTTP response code" message. If you change that <meta> to the following, it should work:

<meta property="og:url" content="http://www.webcilento.com/site/eventi/fiera-di-prova.html" />

If these headers are added by a plugin or by Joomla itself, then perhaps something is misconfigured? If you provide more information about how you are adding the Open graph headers to the page then we can assist with that.

like image 128
madebydavid Avatar answered Jan 04 '23 13:01

madebydavid