SEO Issues with Yoast double titles. yup this old problem
-
ok so i have yoast and im getting the age old double title error. I keep reading people say may sure you add <title><?php wp_title(”); ?></title> but my header file looks way diff and I dont know if i need to remove all this extra code or just put it in with it
this is what my header.php has in it
<title>
<?php
global $page, $paged;
wp_title( ‘|’, true, ‘right’ );
bloginfo( ‘name’ );
$site_description = get_bloginfo( ‘description’, ‘display’ );
if ( $site_description && ( is_home() || is_front_page() ) )
echo ” | $site_description”;
if ( $paged >= 2 || $page >= 2 )
echo ‘ | ‘ . sprintf( ‘Page %s’ , max( $paged, $page ) );
?>
</title>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SEO Issues with Yoast double titles. yup this old problem’ is closed to new replies.