• Resolved teknofilo

    (@teknofilo)


    I have no idea why my main page and all the entries have a duplicated title.

    For example, the title of my main page is ‘Teknófilo | El blog de los amantes de la tecnologíaTeknófilo | El blog de los amantes de la tecnología’.

    A similar problem occurs with all the titles of my entries, which have the word ‘Teknófilo’ at the end with no separator.

    My website is teknofilo.com

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 6 replies - 1 through 6 (of 6 total)
  • WordPress version: 3.5
    WordPress SEO version: 1.3.4.3

    I am having a similar problem after having installed this plugin and have been having it for quite some time. In Google’s search results, my site shows up with both the blog’s site name and the site description repeating twice.

    I would love some help fixing this because, other than this problem, I am quite happy with WordPress SEO. Thanks!

    Here’s my site: dappledthings.me

    If it helps, my homepage title template is set as the default:

    %%sitename%% %%page%% %%sep%% %%sitedesc%%

    And I have enabled “Force rewrite titles” on the SEO -> Titles settings page.

    Thread Starter teknofilo

    (@teknofilo)

    Can anyone help?

    Unfortunately, I am wondering if there is an answer to our dilemma. I have found another post about this, but it never seemed to completely resolve the problem for some people. Here is the post:

    http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-issue-with-duplicate-post-titles-help?replies=39

    I tried stripping the old title info out of my header and just putting in

    <title><?php wp_title(''); ?></title>

    and then disabling “Force rewrite titles” on the SEO -> Titles settings page, but it didn’t work for me.

    I am at a loss. Wish Joost de Valk would poke his head in here and give us some direction…

    Thread Starter teknofilo

    (@teknofilo)

    I have fixed this by editing header.php.

    Replace:

    <title><?php
    	/*
    	 * Print the <title> tag based on what is being viewed.
    	 */
    	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', 'twentyten' ), max( $paged, $page ) );
    
    	?></title>

    By:

    <title>
    <?php
    if(is_home() || is_front_page()) { echo bloginfo("name"); echo " | "; echo bloginfo("description"); }
    else
    { echo wp_title('|', true, 'right'); } ?>
    </title>
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Web page titles duplicated’ is closed to new replies.