Wordpress - Shared link 404 on Facebook

2019-09-05 23:25发布

问题:

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

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

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

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

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

[Edit: URL Dead now]

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?

EDIT

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!

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!

回答1:

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!