页面存在时,Facebook共享链接返回404重定向错误 [英] facebook share link returning 404 redirect error when page exists

查看:595
本文介绍了页面存在时,Facebook共享链接返回404重定向错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Facebook上共享以下链接返回404错误页面信息,而不是页面详细信息并链接即使页面存在:





尝试修正错误:



  • 我尝试编码链接以启用&和?正确(没有工作)

  • 我从http://www.kentbusinessangel.co.uk/lucky-achieve-goals-be-excited/src-fb创建了一个重定向到原始网址(在浏览器中使用网址时工作,但在Facebook上共享时仍显示404错误)

  • 我在http://www.kentbusinessangel创建了一个静态页面。 co.uk/lucky-achieve-goal/fb/be-excited(这个页面再次在浏览器中工作,但是Facebook也表示此页面的错误404!)

  • 我等了一天希望也许Facebook需要时间再次抓住页面(他的问题仍然存在)

  • 我添加了元标签到新的静态页面,并使规范匹配该页面的URL,以防万一帮助(但仍然显示在Facebook上的404重定向错误共享):


 < meta property =og:标题content =13幸运的步骤来实现你的目标 - 被激发> 
< meta property =og:descriptioncontent =获得13个幸运的步骤来实现你的目标! - 被激发>
< meta property =og:imagecontent =../../ images / numbers / circles / one.png>
< link rel =canonicalhref =http://www.kentbusinessangel.co.uk/lucky-achieve-goal/fb/be-excited>有没有人知道为什么Facebook共享信息是从我的404错误中获取的?页面而不是共享的网址,我可以如何解决?



编辑:发布此问题后,原始链接http://www.kentbusinessangel.co.uk/幸运实现目标?sq = be-excited&src = fb工作在Facebook分享! ---但是,通过相同的动态页面设置的其他页面仍然无法正常工作,并且我在上述步骤中创建的链接的其他工作都不是





Edit2:如果在这里发布第二个链接会有神奇的作品通过Facebook分享 - 但没有快乐 - *困惑*



任何帮助将不胜感激



编辑3:好的,原始链接回到在共享区域以及其他链接不起作用 - 所以回到正方形 -



修复! !似乎Facebook在出现重定向错误时刮下了页面,从那时起没有将其重新标记出来。

!!:::::::::!!!!!!!and and and and and and and and!!!这样做之后,这些网页的新的分享链接也一起工作了! (so simple:s)

解决方案

当有重定向错误时,Facebook看起来像Facebook一样抓住页面,没有从那以后,新的一面。当我将页面添加到 developers.facebook.com/tools/debug 中的分层时查看页面正常,通过重新整理 - 之后共享的链接也工作!


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:

  • I tried encoding the link to enable passing the & and ? correctly (didn't work)
  • I created a redirect from http://www.kentbusinessangel.co.uk/lucky-achieve-goals-be-excited/src-fb to the original url (which works when you use the url in the browser, but still only shows 404 error when sharing on facebook)
  • I created a static page at http://www.kentbusinessangel.co.uk/lucky-achieve-goal/fb/be-excited (again this page works in the browser but facebook says error 404 for this page too!)
  • I waited a day hoping that maybe facebook needed time to scrape the page again (he same problem continues)
  • I added metatags to the new static page and made the canonical match the url for this page just in case it would help (but it still shows 404 redirect error sharing on facebook):

<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 )

解决方案

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!

这篇关于页面存在时,Facebook共享链接返回404重定向错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆