• mattyk1972

    (@mattyk1972)


    Apologies if this has been dealt with elsewhere, but after spending a long time looking, I couldn’t find the answer I need.

    I currently have a couple of blogs and I’m really struggling to get my blog name and description in the title tag of the header – for SEO purposes.

    I’ve tried editing the header.php file with various bits of code from this site, and even resorted to just entering straight text, but nothing seems to change what’s in the <title></title> entry I see when I view the source code in my browser.

    I’ve even tried changing the title of my blog (in the General Settings) but this had no impact on the information in the title tags – it’s almost as if the information is coming from somewhere else, or has been set in stone and cannot be changed.

    Can anyone tell me a surefire way of having my blog title and description displayed in the title tags of the code for my home page? So you’d see something like this when you went to View Source in your browser:

    <title>Blog Title – Blog Description</title>

    Thanks you

Viewing 5 replies - 1 through 5 (of 5 total)
  • What do you have in your header for title?

    This works great for me

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

    Jonas Grumby

    (@ss_minnow)

    Are you using any kind of SEO plugin? If so, check the plugin settings. If not, you may want to.

    Thread Starter mattyk1972

    (@mattyk1972)

    Cheers RVoodo, but SS_Minnow you were spot on.

    I had an SEO plug in that was obviously overriding the header.php file. Put what I wanted in my title tags, saved and there it was.

    God bles you and all who sail in you 🙂

    JG99

    (@jg99)

    On my home page, I would like the title tag to have Blog Title and Blog Description.

    For example:

    Widgets.com | Everything You Ever Wanted to Know About Widgets

    Can someone please help?

    Thank you.

    Jonas Grumby

    (@ss_minnow)

    You may want that to be the title of your home page but you probably don’t want it to be the title of every page. If you are using a plugin for SEO, there is usually a place to enter whatever home page title you want. If you are not using a SEO plugin you may want to start. Otherwise you will have to edit the theme file that contains your title (probably header.php).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blog description in title tags’ is closed to new replies.