WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change browser title but keep Blog Title (6 posts)

  1. MaxRabbit
    Member
    Posted 4 years ago #

    I simply want to make the title that shows up in the browser tab when you go to the blog (E.g. the stuff in between the <title></title> tags in the source), but I want the Blog Title to stay the same! This is an example of a site that has done it correctly: http://www.ebooks-with-reseller-rights.com/

  2. Shane G
    Member
    Posted 4 years ago #

    Hi,

    Your blog title and browser title both has set different as you want. It seems that you have a browser cache issue. Please clear the browser cache and have a check.

    Thanks,

    Shane G.

  3. Arnold Goodway
    Member
    Posted 4 years ago #

    In your header.php you most probably using bloginfo('name') for adding the title (the title tags) as well as the h1 heading in the header. You need to change the one that you do not want to show the name of the blog.

  4. MaxRabbit
    Member
    Posted 4 years ago #

    ArnoldGoodway, thank you! However, I don't understand how to change it.

    Here are the first 3 lines of my header:

    <title><?php wp_title('&laquo;', true, 'right'); ?><?php bloginfo('name'); ?></title>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />

    So what do I change to make my browser title say something different?

    Thanks!

  5. alism
    Member
    Posted 4 years ago #

    MaxRabbit, you can indeed edit your header.php to achieve the desired result. That site you posted as a reference to in your original post appears to actually be using the 'All in one SEO pack' plugin to change their page titles.

    If you're not familiar with PHP, I'd probably choose that as the better option in this case.
    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  6. MaxRabbit
    Member
    Posted 4 years ago #

    Thanks alism :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags