anne-marie
anne-marie

Reputation: 321

facebook share link returning 404 redirect error when page exists

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.kentbusinessangel.co.uk/lucky-achieve-goals?sq=be-excited&src=fb

To try and fix the error:

<meta property="og:title" content="13 Lucky Steps to Achieve Your Goals - Be Excited">
<meta property="og:description" content="Get 13 lucky steps to achieve your goals! - Be Excited">
<meta property="og:image" content="../../images/numbers/circles/one.png">
<link rel="canonical" href="http://www.kentbusinessangel.co.uk/lucky-achieve-goal/fb/be-excited">

Does anyone have a clue why the facebook share information is being taken from my 404 error page instead of the url being shared and how I can fix it?

Edit: After posting this question the original link http://www.kentbusinessangel.co.uk/lucky-achieve-goals?sq=be-excited&src=fb worked on the facebook share! --- However, the other pages that are all set up through the same dynamic page are still not working and neither are the other work around links that I created in the steps above

i.e. http://www.kentbusinessangel.co.uk/lucky-achieve-goals?sq=effort&src=fb

Edit2: Would have been nice if posting the second link on here would have magically made that work through the facebook share too - but no joy - *confused*

Any help on this would be appreciated

Edit 3: Ok, the original link is back to not working on the share area as well as the other links - so back to square one -

Fix!! Seems that facebook scraped the pages when there was a redirect error and since then hadn't rescraped them.
Putting them into the delinter: developers.facebook.com/tools/debug rescraped the page and retrieved the correct information! After doing this new share links for these pages worked too! (so simple :s )

Upvotes: 15

Views: 31247

Answers (3)

Nishant
Nishant

Reputation: 425

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

Upvotes: 1

anne-marie
anne-marie

Reputation: 321

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!

Upvotes: 7

billa surya
billa surya

Reputation: 81

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'/>

Upvotes: 8

Related Questions