Hi friends,
I spent the whole day trying to resolve my problem but i can't figure it out .
Some META tag appear twice (og:image for example) .
Overriding the different preprocess functions doesn't help .
Disabling metatag module remove the second part .
My question is where can i alter the first meta property section because it seems that values are not avalaible from preprocess function ??

<meta charset="utf-8" />
<meta property="og:type" content="Article" />
/*** (meta property output) first part ***/
<meta property="og:title" content="******"/><meta property="og:url" content="***********"/><meta property="og:image" content="***********logo_path"/><meta property="fb:admins" content="***"><link rel="shortcut icon" href="*******" type="image/vnd.microsoft.icon" />
<meta name="description" content="******" />
<meta name="keywords" content="***" />
<meta name="generator" content="Drupal 7 (http://drupal.org)" />
<link rel="canonical" href="******" />
<link rel="shortlink" href="******" />
/*** (meta tag output) second part ***/
<meta property="fb:admins" content="*****" />
<meta property="fb:app_id" content="******" />
<meta property="og:site_name" content="****" />
<meta property="og:type" content="blog" />
<meta property="og:url" content="*****" />
<meta property="og:title" content="**" />
<meta property="og:description" content="****" />
<meta property="og:image" content="***" />

Comments

mops created an issue. See original summary.

DamienMcKenna’s picture

Status: Active » Closed (works as designed)

You either have code in a custom module or in the theme adding those, or another contrib module is adding them; Metatag itself only outputs multiple meta tags if the tag and values support them, e.g. you are outputting multiple og:image meta tags.