• Resolved LGW

    (@kove)


    Hi,

    I’ve noticed that all the pages and posts in my website have duplicated meta description.
    I have a small description and also the description of AIOSP.
    If I disable AIOSP the small description remains in the page.

    I’ve not been able to set things normally, what can I do ?

    Regards

    https://wordpress.org/plugins/all-in-one-seo-pack/

    edit:

    this is the code that generates the description in my theme’s header.php.

    <meta name="description" content="<?php if ( is_single() ) :
    	    single_post_title('', true);
    	else :
    	    bloginfo('name'); echo " - "; bloginfo('description');
    	endif;
    	?>" />

    If I remove it everything works fine, but this is a partial solution for me, because I would like to have a fully functional site even with the plugin deactivated. What can I do ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Steve M

    (@wpsmort)

    Hi kove,

    It sounds like your theme is also trying to add a meta description. If you would rather use All in One SEO Pack to control your meta descriptions then you’ll need to delete that code from your theme.

    Thread Starter LGW

    (@kove)

    yeah, removing the line seems the better solution

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Description duplicated in all pages’ is closed to new replies.