Support » Fixing WordPress » Two Meta Description Tags

  • Each post on my site has two meta name=”description” tags. The correct one is inserted by the Ultimate SEO plugin. The second one is being inserted by wp_head.

    On some pages the second tag says content=” ” and on other pages it says content=”null  “

    If it helps, the three lines above the bogus tag are:

    <meta property="og:type" content="article" />
    <meta property="og:title" content="Quilting Books For Beginners" />
    <meta name="title" content="Quilting Books For Beginners" />

    and the line following it is:

    <meta name="medium" content="blog" />

    Can anyone suggest where these bogus tags are coming from and how I can make them stop?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry, I meant to say …

    On some posts the second tag says content=" " (three spaces), and on other posts it says content="null &nbsp;" (just as you see it).

    do you use simple facebook connect plugin?
    If so use:

    remove_action('wp_head','sfc_like_meta');
    remove_action('wp_head','sfc_meta_head');

    to remove these tags from the head.

    But be careful, they are necisary if you are using xfbml in your page for like buttons, or any linking into facebook for that matter.
    Id advise adding these open graph (og:title) tags to your head with your own function ie.

    function my_head_meta(){
    meta tags...
    }
    add_action('wp_head','my_head_meta')

    Facebook developers site has extensive documentation on the use of open graph tags for integration.
    Facebook docs.
    And use this link linter to check if your site is readable by facebook.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two Meta Description Tags’ is closed to new replies.