Open amdrew opened 11 years ago
It seems that if any page is set to show as the homepage from settings > reading it doubles up on the site title.
To test, set any page to show as the homepage (I used the sample page). The result the following as the page title:
sitename sitename
One fix would be to change:
<title><?php bloginfo( 'name' ); ?> <?php wp_title(); ?></title>
to something like this (without the parameters if you choose to)
<title><?php wp_title( '|', true, 'right' ); ?></title>
in header.php.
As per this ticket: https://easydigitaldownloads.com/support/topic/site-title-repeating-in-links-url/#post-91241
The second is correct.
https://make.wordpress.org/core/2015/10/20/document-title-in-4-4/
It seems that if any page is set to show as the homepage from settings > reading it doubles up on the site title.
To test, set any page to show as the homepage (I used the sample page). The result the following as the page title:
sitename sitename
One fix would be to change:
<title><?php bloginfo( 'name' ); ?> <?php wp_title(); ?></title>
to something like this (without the parameters if you choose to)
<title><?php wp_title( '|', true, 'right' ); ?></title>
in header.php.
As per this ticket: https://easydigitaldownloads.com/support/topic/site-title-repeating-in-links-url/#post-91241