Error 404 (Not Found) on Facebook

Asked

Viewed 672 times

2

I have a problem sharing links from a site on facebook because, the links are right and appears the following message from the site when sharing:

Error 404 (Not Found)!!

The site is in wordpress and correctly exists in addition to has all tags meta:og, following example:

<meta property='og:locale' content='pt_BR'/>
<meta property='og:type' content='article'/>
<meta property='og:title' content='xxx'/>
<meta property='og:description' content='xxxx'/>
<meta property='og:url' content='http://xxxxxx.com.br/xxxxxx/'/>
<meta property='og:site_name' content='Titulo'/>
<meta property='article:author' content='https://www.facebook.com/xxxxxx'/>
<meta property='article:publisher' content='https://www.facebook.com/xxxxxxx'/>
<meta property='fb:app_id' content='xxxxxxxxxxxxx'/>
<meta property='og:image' content='http://wwww.site.com.br/image.jpg'/>
<meta property='og:image' content='http://wwww.site.com.br/image.jpg'/>

These tags are generated by the Yoast Wordpress SEO plugin. Someone knows how to solve?

  • 1

    Which link does facebook point to? This usually happens because the protocol is missing HTTP or HTTPS in the URL

  • did not understand your question @Tiagocésaroliveira because what I do is share my page on facebook, in my html it has the following <html xmlns="http://www.w3.org/1999/xhtml" dir="Ltr" lang="en-BR" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"> is correct...

  • From what I understand, the Facebook link returns 404... That’s not it?

  • no, facebook returns 404 of my page link...

  • So, your link shared there, right? See if the protocol is going

  • Check out @Tiagocésaroliveira http://picpaste.com/facebook-WSpbfdm9.jpg

  • Ah, now I understand! I was wrong, I thought it was something else

  • Validate the Url you are trying to share on Facebook with its Linter URL. There it will show all the data it captures from your site. https://developers.facebook.com/tools/debug

Show 3 more comments

1 answer

1

From what you described Facebook is not able to access the page because it is not visible to the public or is not only returning to Facebook. If this is the last option, check if there is any code at the top of the Facebook page.

Try changing the Facebook link in the html tag:

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-BR" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">

For this reason:

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-BR" prefix="og: http://ogp.me/ns# fb: http://www.facebook.com/2008/fbml">
  • the @paulo-Maciel problem is that this html line is generated by the plugin itself, will not have some other solution?

  • Sometimes this plugin is outdated, check if there is another or try to add this comment feature to your site manually. I haven’t used Wordpress in a while, so I don’t know any other solution.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.