当我在不同社交媒体平台上发布此tx_news文章链接时:
www.meinedomain / news-article / title-of-article /(ex hidden:www.meinedomain / company / media-press / news-article / title-of-article /)
...而不是新闻文章标题,我将获得intemedate path'新闻文章'作为Facebook,Xing和Twitter帖子的标题:
Facebook:
Link: yes
Picture: yes
Headline: News Articles and not Title
Teaser: yes
Xing:
Link: yes
Picture: yes
Headline: News Articles and not Title
Teaser: yes
Linkedin:
Link: yes
Picture: yes
Headline: yes
Teaser: no
Google+:
Link: yes
Picture: yes
Headline: yes
Teaser: no
Twitter:
Link: yes
Picture: yes
Headline: News Articles and not Title
Teaser: yes
如何在Facebook,Xing和Twitter上获得所需的标题?如果相关,我也使用tx_metaseo
这就是我的源代码:
<meta property="og:title" content="Some Title - Weekly Update (June 12-18, 2017)" />
<meta property="og:url" content="mydomain/news-articles/some-title-weekly-update-june-12-18-2017/" />
...
<title>News Articles | Some Company</title>
...
<meta name="DCTERMS.title" content="News Articles">
...
<meta property="og:title" content="News Articles">
...
答案 0 :(得分:2)
正如您在源代码中看到的那样,og:title
标记被提供两次。如果手动设置og:title
标记,请查看您的typoscript。为您的新闻详细信息页面停用typoscript og:title
,以便流畅的og:title
是唯一的。
答案 1 :(得分:0)
要检查的事项:
title
- 网站上的标签是否正确?
如果不是:检查tx_news单视图流体模板h1
?
如果不是:检查网站的布局和标题结构