0

I am having this link: http://www.myqourse.com/offer/557/en/Certificate+Business+Professional+-+CBP+Leading+through+change

when I post it on WhatsApp, the link renders perfectly. However, Facebook tries to fetch http://www.myqourse.com/www.myqourse.com/offer/557/en/Certificate+Business+Professional+-+CBP+Leading+through+change

Any thoughts why is this is happening?

enter image description here

Cœur
  • 37,241
  • 25
  • 195
  • 267
ZYSHAQ
  • 55
  • 9
  • Have you tried using the full URL in your `og:url` meta tag? – Flopp Feb 03 '18 at 12:03
  • Yes... You can check in the image I just added to the initial post. I tried removing all meta tags but the result is still the same – ZYSHAQ Feb 03 '18 at 12:06
  • I just tried this on www.myqourse.com and its the same result. it becomes www.myqourse.com/myqourse.com – ZYSHAQ Feb 03 '18 at 12:07
  • I am not sure if this is related but I am having a trouble with twitter as well: https://twittercommunity.com/t/twitter-card-validator-show-no-tags/100756 – ZYSHAQ Feb 03 '18 at 12:14
  • _“However, Facebook tries to fetch […]”_ - have you verified this via the access log? (Just because because the debug tool showed your site responding with that output, must not necessarily mean this was what Facebook actually requested.) Double URL encoding seems to be going on somewhere; I wonder if that might have to do with the use of `+` in your URLs, which could easily be problematic. Can you please try with an article URL without any + in it? – CBroe Feb 05 '18 at 08:13
  • Hi @CBroe , yes, I tried www.myqourse.com and still the same result. – ZYSHAQ Feb 05 '18 at 08:51
  • Will check the log. – ZYSHAQ Feb 05 '18 at 08:51

2 Answers2

0

Solved it! I had a pretender.io middleware, that, was not compatible to my new htaccess. I updated the htaccess and removed pretender.io and forgot to do that to my middleware!

ZYSHAQ
  • 55
  • 9
  • Could do with a bit more information to make this more explicit and clear for any other users who encounter a similar problem – Dave Mar 27 '18 at 14:32
0

Hi guys I appreciate your support. While investigating the issue, i figured out that i used to use prerender.io before, though i removed the code from my project, it appears i forgot to upload updated Kernel.php (and remove prerender.io from global middleware), now things works perfectly!

ZYSHAQ
  • 55
  • 9