Support » Fixing WordPress » Page Title vs. Blog Title

  • I’ve noticed that my Blog Title is in every single page of my blog, when viewing the Page Source in the browsers.

    How can I change it so that the actual Page Title is between the Title tags instead of the Blog Title?


Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s probably a good idea to leave the blog title in there. Look in header.php (toward the top of the document) for <title> blah blah blah </title> and replace with this,

    <title><?php bloginfo('name'); ?><?php wp_title('-'); ?></title>

    This will output the blog title on the home page. On single post pages it will output > BlogTitle-PostTitle

    On category pages it will output > BlogTitle-Category

    and so forth.

    Thanks Len!

    I’ve edited the Webblog Title field in General Options of WP after posting this question. The following default code in Header.php seems to handle Blog Title and Page Title accordingly:

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single(‘1’) ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    The output format of a Page Title in the View Source looks like this:

    <Title>Webblog Title “&raquo”; Page Title</title>

    How can I replace “&raquo” with a colon so that it would look like this?
    <Title>Webblog Title: Page Title</title>


    The raquo comes from the core WP files… which means you need to edit those + do it again every time you upgrade.
    Maybe a better solution is to use a plugin, like
    or something similar

    Thanks much, Moshu. I’ve installed the SEO Title Tag plugin, which is a great plugin. It also has “&raquo” between the <title> tags.

    It seems that “&raquo” is how it appears between the <title> tags when viewing source. But It shows the arrow sign » if post it here:

    <Title>Webblog Title » Page Title</title>

    If you have it installed… just go back and read again and again the settings options (regarding raquo, if you don’t want to use it)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page Title vs. Blog Title’ is closed to new replies.