facebook share link returning 404 redirect error when page exists

前端 未结 3 769
盖世英雄少女心
盖世英雄少女心 2021-01-04 03:47

Sharing the following link in facebook is returning 404 error page information instead of the page details and link even though the page exists:

http://www.kentbusin

相关标签:
3条回答
  • 2021-01-04 04:17

    You should use the debugger provided by Facebook at https://developers.facebook.com/tools/debug/

    There, please make sure that your original URL (Fetched URL) and the canonical URL match !!!

    For whatever reason, if you end up setting up the wrong og:url entry, it distorts the canonical URL, which does not match the Fetched URL and this is a problem for Facebook. Just make sure that the og:url (canonical URL) entry matches with the actual URL, and hence its not perceived as a redirection

    0 讨论(0)
  • 2021-01-04 04:29

    It looks like facebook managed to scrape the pages when there was a redirect error and hadn't taken a new look since then. When I add the pages to the delinter at developers.facebook.com/tools/debug it views the page fine, by rescraping it -- after which the links being shared work as well!

    0 讨论(0)
  • 2021-01-04 04:31

    its simple

    add the below meta code in Edit html place in blogger before <b:skin><![CDATA[/*

    change the content what you want to be

    goto https://developers.facebook.com/tools/debug/og/object/

    past the link of blog there and scrap it

    <meta content='TestedCodes' property='og:title'/> <meta content='Introducing Important basic codes which a programmer needs to know ' property='og:description'/> <meta content='http://www.testedcodes.net' property='og:url'/> <meta content='https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSN90lduXisEbSyVbU4SHa-vcRjQeSZZH7d8kY7AkX3L-f56dFhFw' property='og:image'/>

    0 讨论(0)
提交回复
热议问题