• I am using the latest wordpress ver with 2.2 ver of AIOSEO for my website https://www.smeng.com. I have entered Title n Desc for home page but only the Desc tag is not showing up in the view source code. Although the plugin is working fine with other pages. I am not very much familiar with coding so here I am pasting my header.php code:

    If anyone can detect the issue kindly point out and do let me know how to fix it. Thanks

    <?php

    if($_SERVER[‘REQUEST_URI’]== “/”){ ?>
    <title>Utility Rate Analysis – Get the Best Energy Rates</title>

    <?php }
    elseif ($_SERVER[‘REQUEST_URI’]== “/blog”) { ?>
    <title>Articles on Energy Costs and Utility Management</title>
    <meta name=”description” content=”Our blog section covers articles on energy rate options, tips to improve energy efficiency, cost reduction, utility bill audit, management and tax exemption laws” />
    <?php }

    else { ?>
    <title><?php echo strip_tags(the_title(”,”,FALSE)); ?></title>
    <meta name=”description” content=”<?php $metadesc = get_post_meta($post->ID, ‘_aioseop_description’, true);
    if ($metadesc) {
    echo $metadesc;
    } else {
    the_excerpt();
    }
    ?>”>
    <?php } ?>

    [ No bumping please. ]

  • The topic ‘All in one SEO not showing Homepage description’ is closed to new replies.