WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Want my '-' separator for homepage back to original '|' (1 post)

  1. mrufka11
    Member
    Posted 1 year ago #

    Hi, the SEO by Yoast plugin has changed the separator of my homepage from '|' to '-'. I have managed to fix it for posts and pages, however I don't know how to changed it back for my homepage.
    I have ticked the "Force rewrite titles" and my header.php says:
    <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', 'imbalance2' ), max( $paged, $page ) );
    ?></title>

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags