javascript - Facebook Open Graph Sharing Debugger not reading my code well -


when check url on open graph debugger , click on scrape again

https://developers.facebook.com/tools/debug/sharing/?q=https%3a%2f%2fwww.tvsrbija.online%2findex.php

i strange error

our page has meta tags in body instead of head. may because html malformed , fell lower in parse tree. please fix in order tags usable.

but code fine when source. tried scraping blank index.php file, , when do, here facebook sees

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/tr/rec-html40/loose.dtd"> <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head></html> 

but there no such code, if go blank index.php page of site , check source blank...

but, when use index.html instead of index.php facebook sees no code should empty index.php

problem script php , not html can not use html extension fix problem. tried rewriting .php extension html because thought maybe facebook handles differently no luck. try pausing cloudflare couple of days , same thing...

what can be?

edit: here can see how facebook sees source code https://developers.facebook.com/tools/debug/echo/?q=https%3a%2f%2fwww.tvsrbija.online%2findex.php

try changing encoding utf8 without boom instead of utf8. has been headache many developers because utf8 adds info before file indicating file utf8


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -