Support » Fixing WordPress » Same META description and keyword for every post????Please Help!

  • When my site is searched in google my all posts show the same meta description. I search about this problem on internet but can’t solve it..
    My site’s address is

    Here’s the code i found in my header file for meta description and keyword

    <?php if ( is_single() ) { ?><?php } else { ?><meta name="description" content="<?php echo get_option('metadesc'); ?>" /><?php } ?>
    <meta name="keywords" content="<?php echo get_option('metakey'); ?>"/>

    Please help me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    your single posts seem to have individual meta descriptions (done with aioseo plugin) – that is where the wordpress part ends.

    however this is only a suggestion for the search engines, and what they show in the end is down to the search engine.

    when did you activate the AIOSEO plugin?
    are the search results cached and older?

    try and inquire in the forums of the search engines.

    I’ve looked at your site and your posts definitely have different meta descriptions. Your tags and categories, on the other hand, use the same description as your homepage.

    If you want different meta descriptions for your tags and categories, either change the options in that plugin you’re using (I haven’t used it myself, so no idea if it can do that), or add meta descriptions to your header with is_tag() and is_category() conditions.

    For example:

    elseif ( is_tag() ) { echo trim ( strip_tags( tag_description() ) ); }

    (Provided you have actually entered a description for every tag).

    Or, you could just leave meta description for tags and categories empty and let Google handle it. No big deal.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Same META description and keyword for every post????Please Help!’ is closed to new replies.