WordPress.org

Ready to get started?Download WordPress

Forums

Same META description and keyword for every post????Please Help! (3 posts)

  1. nikhu07
    Member
    Posted 2 years ago #

    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 http://svolze.com

    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!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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.

  3. chadrew
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic