Facebook分享者:对象移动/ 302错误 [英] Facebook sharer: Object moved/302 error

查看:176
本文介绍了Facebook分享者:对象移动/ 302错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Facebook上从我的网站共享网址时,我收到对象移动消息。 Facebook调试器告诉我,他看到一个http响应 302 他无法关注:

I get a ̀Object moved message when sharing URLs from my site on facebook. Facebook debugger tells me that he sees an http response 302 he can't follow:

URL requested a HTTP redirect, but it could not be followed.

但在浏览器中我得到 200 对于相同的网址。

But in the browser I get a 200 for the same URL.

当我尝试重新扫描时,我收到以下错误:

When I try to rescrape, I get the following error:

Error parsing input URL, no data was cached, or no data was scraped.

这个问题已被问过很多次,但我没有得到答案。该网站使用sitecore / IIS运行,仅通过HTTP提供(没有HTTPS,如果相关的话)。

This question has been asked quite a few times, but I've not come accross an answer. The website runs with sitecore/IIS and is available via HTTP only (no HTTPS, if that's relevant).

推荐答案

问题是问题中描述的很明显:
我们网站上有特殊代码导致某些客户(非德国人)的重定向,因此我们的浏览器获得了200,Facebook获得了302.

The problem was as obvious as described in the question: We had special code in our site that caused redirects for some clients (non-germans), so our browser got a 200 and Facebook a 302.

对于任何绊倒这个问题并寻求帮助的人,我在长时间搜索后找到的最佳答案(不是google上的顶部)给出了以下问题:

For anyone stumbling upon this question and looking for help, the best answer I found after a long search (not top on google) was given to the following question:

Facebook不会分享指向我网站的链接

这篇关于Facebook分享者:对象移动/ 302错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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