• Andy

    (@andythreecoaching)


    Hi,

    Under the general settings, you have:

    Site title _____

    Tagline _____

    But then when you publish your site you get: site title + tagline when you come up in google results.

    As this weakens my keywords, is there a way to have wordpress not include your ‘blog’ title in there along with your tagline?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Have you looked at the All in One SEO Pack plugin

    if you don’t want to use a plugin, you can check the <title> tags in the header.php:

    these are the ones from the default theme, for reference:

    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

    yours will be different. but you can change the way your theme displays these.

    Thread Starter Andy

    (@andythreecoaching)

    Hi, thanks for the tip. My code is horrible and i wouldn’t know where to begin, here it is:

    <title><?php
    // Returns the title based on the type of page being viewed
    		if ( is_single() ) {
    			single_post_title(); echo ' | '; bloginfo( 'name' );
    		} elseif ( is_home() || is_front_page() ) {
    			bloginfo( 'name' ); echo ' | '; bloginfo( 'description' ); twentyten_the_page_number();
    		} elseif ( is_page() ) {
    			single_post_title( '' ); echo ' | '; bloginfo( 'name' );
    		} elseif ( is_search() ) {
    			printf( __( 'Search results for "%s"', 'twentyten' ), esc_html( $s ) ); twentyten_the_page_number(); echo ' | '; bloginfo( 'name' );
    		} elseif ( is_404() ) {
    			_e( 'Not Found', 'twentyten' ); echo ' | '; bloginfo( 'name' );
    		} else {
    			wp_title( '' ); echo ' | '; bloginfo( 'name' ); twentyten_the_page_number();
    		}
    	?></title>

    Any ideas where to begin there? I don’t like any SEO plugins, i tried them and i prefer to get stuck in manually.

    Moderator keesiemeijer

    (@keesiemeijer)

    Isn’t leaving the blog title out seo unfriendly?

    just delete the bloginfo( 'name' ); and echo ' | ';

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘‘Site Title’ getting into my tagline automatically?’ is closed to new replies.