Wordpress-Facebook上的共享链接404 [英] Wordpress - Shared link 404 on Facebook

查看:60
本文介绍了Wordpress-Facebook上的共享链接404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读过各种文章,似乎无法解决这一问题.

I've read various posts and can't seem to solve this one.

我遇到一个问题,共享链接形成了一个wordpress网站facebook,返回了404.

I have an issue that with sharing links form a wordpress site facebook returning a 404.

我有标准的.htaccess文件. 我没有使用gzip. 没有缓存插件.

I have the standard .htaccess file. I'm not using gzip. No caching plugins.

我正在使用Yoast.哪个添加了正确的元数据.

I am using Yoast. Which is adding the correct meta data.

如果我在Facebook调试器中弹出此网址(如下),则会得到404

If I pop this url (below) in the facebook debugger I get a 404

如果我在Facebook调试器中弹出该帖子的短链接(如下),则会显示Object at URL 'http://example.com/?p=7229' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

If I pop the shortlink (below) for that post in the facebook debugger I get Object at URL 'http://example.com/?p=7229' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

谁能告诉我出什么问题了?

Can anyone tell me what is wrong?

编辑

该站点在专用服务器上运行.有什么我可以检查的吗?我对此仍然感到完全困惑,而且我已经阅读和尝试了几个小时了!

The site is running on a dedicated server. Is there something I can check there? I'm still totally puzzled by this and I've been reading and trying things for hours!

已恢复 我正在使用专用的1and1服务器,在Plesk中的设置中,IPv6地址设置为none.我添加IPv6地址后,一切都正常了!

RESOVLED I am using a dedicated 1and1 server, within the settings in Plesk the IPv6 address was set to none. As soon as I added a IPv6 address it all worked!

推荐答案

我正在使用专用的1and1服务器,在Plesk中的设置中,IPv6地址设置为none.我添加IPv6地址后,一切都正常!

I am using a dedicated 1and1 server, within the settings in Plesk the IPv6 address was set to none. As soon as I added a IPv6 address it all worked!

这篇关于Wordpress-Facebook上的共享链接404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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