Linkedin邮政检查员无法显示我的网页预览 [英] Linkedin post inspector can't display preview for my webpage

查看:101
本文介绍了Linkedin邮政检查员无法显示我的网页预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我管理一个基于WordPress的网站,我想在linkedin中分享帖子.

I manage a website based on WordPress and I want to share posts in linkedin.

在帖子的标题部分中,我具有此链接的OpenGraph元属性 https ://www.linkedin.com/help/linkedin/answer/46687 说.

In the header section of the posts I have the OpenGraph meta properties as this link https://www.linkedin.com/help/linkedin/answer/46687 says.

在这里,我将metas发布到我网站的一页的标题部分:

Here I post metas in the header section of one page of my site:

    <head>
<meta charset="utf-8">
<title>El Ivie es galardonado con el Premio Economía 3 a la Trayectoria Investigadora - Web IvieWeb Ivie</title>
<meta name='twitter:card' content='summary_large_image'/>
<meta name='twitter:description' content='Cada año, con motivo del aniversario de la revista Economía 3, se conceden los Premios Economía 3, reconocimiento a la trayectoria y labor que realizan las empresas, entidades e instituciones de la Comunidad Valenciana en favor del crecimiento económico y social. En su edición correspondiente al ejercicio de 2015, el Jurado de los Premios Economía 3 ha decidido otorgar [&hellip;]'/>
<meta name='twitter:title' content='El Ivie es galardonado con el Premio Economía 3 a la Trayectoria Investigadora'/>
<meta name='twitter:site' content='@ivie_news'/>
<meta name='twitter:image' content='https://www.ivie.es/wp-content/uploads/2017/10/PremioECO3.jpg'/>
<meta name='twitter:creator' content='@ivie_news'/>
<meta name="title" property="og:title" content="El Ivie es galardonado con el Premio Economía 3 a la Trayectoria Investigadora" />
<meta name="image" property="og:image" content="https://www.ivie.es/wp-content/uploads/2017/10/PremioECO3.jpg" />
<meta name="description" property="og:description" content="Cada año, con motivo del aniversario de la revista Economía 3, se conceden los Premios Economía 3, reconocimiento a la trayectoria y labor que realizan las empresas, entidades e instituciones de la Comunidad Valenciana en favor del crecimiento económico y social. En su edición correspondiente al ejercicio de 2015, el Jurado de los Premios Economía 3 ha decidido otorgar [&hellip;]" />
<meta property="og:url" content="https://www.ivie.es/es_ES/el-ivie-es-galardonado-con-el-premio-economia-3-a-la-trayectoria-investigadora/" />
    <meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="msapplication-TileColor" content="#000">
<meta name="msapplication-TileImage" content="https://www.ivie.es/wp-content/uploads/2017/11/cropped-Favicon-270x270.png" />

</head>

我正在尝试签入linkedin的帖子检查器 https://www.linkedin.com/post-inspector/我的网址,但响应始终是

I am trying to check in the linkedin's post inspector https://www.linkedin.com/post-inspector/ my url, but the response is always

我们无法显示此URL的预览.

在摄取"反馈中说

我们在尝试检查URL时遇到服务器错误.

实际上json响应如下:

In fact the json response is the following:

{"warnings":[],"errors":[{"message":"We encountered a server error while trying to inspect the URL.","category":"HTTP_FETCH"}],"info":[],"urlRedirectTrail":{"trail":[{"httpStatus":0,"url":"https://www.ivie.es/es_ES/el-ivie-es-galardonado-con-el-premio-economia-3-a-la-trayectoria-investigadora/"}],"created":1540548016532,"state":"BAD_RESPONSE","lastModified":1540548016532,"key":"https://www.ivie.es/es_ES/el-ivie-es-galardonado-con-el-premio-economia-3-a-la-trayectoria-investigadora/"}}

在网络服务器日志中,我看不到URL的任何入口,因此我认为检查器没有检查任何内容.

In the webserver logs I can't see any entrance to the url, so I think inspector is not inspecting anything.

我做错了什么?

谢谢

推荐答案

经过大量调查,问题出在Apache服务器的SSL配置上.

After a lot of investigation, the problem was the SSL configuration of the Apache Server.

我在:443 VirtualHost中添加了ServerNameServerAlias行,LinkedIn Post Inspector再次起作用

I added ServerName and ServerAlias lines in the :443 VirtualHost and LinkedIn Post Inspector worked again

我希望这对其他人有帮助

I hope this helps someone else

这篇关于Linkedin邮政检查员无法显示我的网页预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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