Help tilte of article not in search but site name is.

Discussion in 'HTML & Website Design' started by swamprat27, Jan 16, 2010.

  1. #1
    I'm having a problem with my blog. When I search for the title of the article I posted a few days ago it shows up in the searches but the title to my blog is the title of the search not the title of the article. How to I change this.
     

    Attached Files:

    swamprat27, Jan 16, 2010 IP
  2. mmiksik

    mmiksik Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mmiksik, Jan 16, 2010 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you putting your site name in the page's h1 instead of the title of the page (which, in an archive, should be the name of the article)?

    it's generally not a good idea to do this:
    <title>Coca-Cola corporation</title>
    <h1>Coca-Cola corporation</h1>

    <h#>About Coke</h#> (where h# is some lower header like h2 or h3)
    Page is completely About the company.


    or

    <title>Coca-Cola corporation</title>
    <h1>Coca-Cola corporation</h1>

    <h#>Coke Products</h#>
    The whole page is about products.

    Instead, it's recommended to do this:

    <title>About Coca-Cola</title>
    <meta name="description" content="About the Coca-Cola corporation, its headquarters, management, and history">

    <h1>About Coke</h1>
    The whole page is about Coke.


    and


    <title>Products - Coca-Cola corporation</title>
    <meta name="description" content="Coke's product line includes x, y, and the new Z. Find all Coke products here">

    <h1>Products</h1>
    Page is about products.

    Only the main/home/welcome page would have the title and h1 be the name of the site or company. h1 means the title of that page, as each web page is considered a stand-alone document, not seen as a sub-page of a website.
     
    Stomme poes, Jan 16, 2010 IP
  4. swamprat27

    swamprat27 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think I understand what you are saying; I’m still pretty new to blogging. Correct me if I’m wrong but when I create a new post shouldn’t all that be done automatically? Or do I have to use the editor in wordpress to change that? Should it be change in the archive section?
     
    swamprat27, Jan 16, 2010 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm not sure what your WP is doing now... look at a page with a recent post in your browser, and go (in the browser toolbar) to View>Source (or it might say View Source or Paage Source) and look through the HTML and see which header WP is automatically giving your post titles.

    Also look at the top of the document and see what it's putting in the <title> tags. I would *think* that the wp people would have gotten that part right, the title, but maybe not. I'm pretty sure I've seen plenty of wp articles where the title was done correctly. The meta tags, I'm not sure what wp offers for that.

    As a coder, I don't make use of templates like that, so I'm used to just having all the control where everything's just a flat plain text file and whatever I type is whatever shows. Something complicated like blogging software should have the ability to do it right but maybe there's somewhere in your admin panel or whatever wp uses where you can set these settings. If someone doesn't have a good suggestion in this thread, you might want to check out a wp-related forum... who knows, maybe it's even theme dependent. Tell them you're new, tell them what your HTML is coming out as, and that you need the titles of your blog articles to be the title of the page and the meta descriptions need to be filled.

    The h1 (main page header) is very commonly used for the "company" title or "web site" title which is a shame but that might just be hardwired into the theme you're using. It only makes sense to have the Name Of Site on the main/welcome/intro page, and for the rest, often people will just use a <p> or something (with a special id so we can keep it styled like on the main page). But it is pretty common for sites to use an h2 for the page header and the h1 for company name. Still, google does consider the h1 to be the main page header unless the page is filled with h1's... at that point google prolly just starts trying to consider them "equal headers" of no rank.

    I'm 99% sure that what's appearing in Google is your <title> so I think if you can fix that you'll be happy.
     
    Stomme poes, Jan 18, 2010 IP
  6. swamprat27

    swamprat27 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for the help I'll check into the suggestions.
     
    swamprat27, Jan 18, 2010 IP