Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] Bad Meta Tag Code for Description and Keywords on my Header? (2 posts)

  1. kiinastudio
    Posted 4 years ago #

    Hi i'm a beginner on php coding and i can't solve this problem:

    if i put a keyword on the "focus keyword", on the field of yoast page panel, for exemple MY PORTFOLIO, the content still empty...:

    <meta name="keywords" content="" />

    other strange things:

    if i write for exemple MY SITE just on "seo title" field and i d'ont write nothing on "focus keyword" :

    <title>grafica, logo, volantini, illustrazioni, adesivi,grafica pubblicitaria</title>
    <meta name="keywords" content="MY SITE    , " />
    	<meta name="description" content=MY SITE    " />

    A - there are two closed title div!
    B - and the seo title appear also on seo title and keywords description...

    <!-- METAS -->
    	<meta name="keywords" content="<?php wp_title(); echo '  '; bloginfo( 'name' ); echo ' , '; bloginfo( 'keywords' ); ?>" />
    	<meta name="description" content="<?php wp_title(); echo '  '; bloginfo( 'description' ); ?>" />
        <meta name="author" content="<?php echo bloginfo( 'author' ); ?>" />
        <!--[if IE 9]>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

    i use diabolik theme from devilcantburn



  2. kiinastudio
    Posted 4 years ago #

    ps. my entire heder.php code:



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic