Description duplicated in all pages
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Description duplicated in all pages’ is closed to new replies.