Twitter Cards validator don't find the metatags

cards

#1

**Description of issue:Twitter Cards validator don’t find the metatags. I see that the source code is OK and the metadata is completed. I don’t know what is the problem. Can you help me, please?

URL affected (must be public): https://zona69.net/tomorrowland-maquinaria/

Troubleshooting steps attempted [note that we will not prioritise posts unless there is evidence of following the troubleshooting guides]:
I have performed several tests in validator
I’ve updated robots.txt
I have modified the metadata several times
I have read other problems and tried several solutions, but don’t fix the problem


#2

Hello,

Looking at your current Twitter related tags:

curl -s -A Twitterbot https://zona69.net/tomorrowland-maquinaria/ | grep twitter:
<meta name="twitter:card" content="summary_large_image" /> <!-- Especifica el tipo de Twitter Card a utilizar -->
<meta name="twitter:site" content="@ZONA69radio" /> <!-- Especifica el usuario de Twitter -->
<meta name=“twitter:creator” content="@ZONA69radio">
<meta name="twitter:description" content="Tomorrowland lanza los primeros nombres de artistas confirmados que actuarán este año. La Decimo-octava edición del festival se celebrará en dos fines de semana, a finales de Julio. " />
<meta name="twitter:url" content="https://zona69.net/tomorrowland-maquinaria/" />
<meta name="twitter:title" content="Tomorrowland pone en marcha la maquinaria" />
<meta name="twitter:image" content="https://zona69.net/wp-content/uploads/2018/01/tomorrowland-2018.jpg" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:description" content="Tomorrowland lanza los primeros nombres de artistas confirmados de este año. La Decimo-octava edición del festival se celebrará en dos fines de semana." />
<meta name="twitter:title" content="Tomorrowland pone en marcha la maquinaria | ZONA69" />
<meta name="twitter:site" content="@Zona69radio" />
<meta name="twitter:image" content="https://zona69.net/wp-content/uploads/2018/01/tomorrowland-2018.jpg" />
<meta name="twitter:creator" content="@Zona69radio" />

as you can see you have duplications in the tags and some of them even contains different values.


#3

I don’t know why it is duplicated. Is this code wrong? I have followed this code for the metadata and when I consult the source code it is correct, not repeated.

<meta name="twitter:card" content="summary_large_image" /> <!-- Especifica el tipo de Twitter Card a utilizar -->
<meta name="twitter:site" content="@ZONA69radio" /> <!-- Especifica el usuario de Twitter -->
<meta name=“twitter:creator” content="@ZONA69radio">
<?php if ( is_category() ) { $cat = get_query_var('cat'); $metacat= strip_tags(category_description($cat)); $current_page_URL = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; ?>
<meta name="twitter:url" content="<?php echo esc_url($current_page_URL);?>" />
<meta name="twitter:title" content="<?php single_cat_title();?>" />
<meta name="twitter:description" content="<?php echo $metacat;?>" />
<?php } ?><?php if (is_single() || is_page() ) : if (have_posts() ) : while (have_posts() ) : the_post(); ?>
<meta name="twitter:description" content="<?php echo get_the_excerpt(); ?>" />
<meta name="twitter:url" content="<?php the_permalink(); ?>" />
<meta name="twitter:title" content="<?php the_title(); ?>" />
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<meta name="twitter:image" content="<?php echo $image[0]; ?>" />
<?php endwhile; endif; elseif (is_home() ): ?>
<meta name="twitter:url" content="<?php echo home_url();?>" />
<meta name="twitter:title" content="<?php bloginfo('name');?>" />
<meta name="twitter:description" content="<?php bloginfo('description'); ?>" />
<meta name="twitter:image:src" content="http://zona69.net/wp-content/uploads/2015/07/ZONA69-LOGOTIPO-NAME-web.jpg" /> <!-- Especifica URL de imagen para el sitio web -->
<?php endif; ?>

#4

Putting a fixed description like this one I still get an error.

<meta name="twitter:card" content="summary_large_image" /> <!-- Especifica el tipo de Twitter Card a utilizar -->
<meta name="twitter:site" content="@ZONA69radio" /> <!-- Especifica el usuario de Twitter -->
<meta name="twitter:url" content="http://www.zona69.net" />
<meta name="twitter:title" content="Zona69" />
<meta name="twitter:description" content="Electrónica para Bailar" />
<meta name="twitter:image:src" content="http://zona69.net/wp-content/uploads/2015/07/ZONA69-LOGOTIPO-NAME-web.jpg" />

#5

It looks like your host or server is returning HTTP 502 when the cards crawler attempts to read your page. You may need to ask your host for assistance. I can’t see a simple reason for this to be happening.


#6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.