Double Title Tag issues
-
I migrated a friends website to my hosting and installed Yoast Premium. But I am having some title tag issues. Basically, I get the site name twice. I cannot find where the error is.
If you look at the source code, you get a title tag like this…
<title>Academic Curriculum | RVA LEADSRVA LEADS </title>
The code in the header.php is below.
<title><?php global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'designcrumbs' ), max( $paged, $page ) ); ?> </title>
In the page setup, the dynamic title tag setup is
%%title%% %%page%% %%sep%% %%sitename%%
The website is rvaleads.com
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Double Title Tag issues’ is closed to new replies.