Removing blog title in SERP's

Discussion in 'Blogging' started by afridy, Nov 6, 2009.

  1. #1
    folks,
    [​IMG]

    i want to remove my blog title and archive thing (the part marked in red above) from appearing in SERP's. pls give me an straight forward solution.

    :)
     
    afridy, Nov 6, 2009 IP
  2. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm assuming that you;re using Digital Statement with no modifications.

    Open up your theme's header.php file and look for the following line:

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    Code (markup):
    Change it to this:

    <title><?php wp_title(); ?></title>
    Code (markup):
    It would be best to use the file editor provided by your host. That way you don;t have to worry about downloading and uploading the file or messing with charset issues.

    Hope this helps,
    -drmike
     
    theapparatus, Nov 6, 2009 IP
    afridy likes this.
  3. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Thank you theapparatus
    yes i am using digitalstatement.
    i did exactly what you sad. So it will take some time to take effect the changes in serp's right?
     
    afridy, Nov 6, 2009 IP
  4. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, it'll take time for it to filter down into the search engines' databases. You can try rebuilding your sitemap and resubmitting it if you're using one. Since the bit has been removed, all of your page titles have changed.
     
    theapparatus, Nov 6, 2009 IP
  5. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #5
    tx, but i see removing the page title seems not a smart solution :p
    i can put it back from the backup if require, no problem in that.
    you see if you check my blog, the tab does not show the page title :rolleyes:

    any way, for now ill remove that 'archive' word from titles. that seems ok for now :)
     
    Last edited: Nov 6, 2009
    afridy, Nov 6, 2009 IP
  6. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #6
    It seems what you gave is the real solution to remove the blog title.
    unfortunately, when i do that i am facing a weird problem. My blog title given in blog settings does not come to the home page in browser :mad::confused:

    anything wrong with the theme?

    my settings as follows :

    [​IMG]

    Theme header
    <title><?php wp_title(); ?></title>

    if you check my blog, you will see the home page does not show the blog title. whats wrong?
     
    afridy, Nov 6, 2009 IP
  7. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Well you're not removing the page title with that change, you;re just removing the blogname and the archives bit. The wp_title function call should be displaying the page title fine.

    One thing you can do is reverse the order of what gets displayed. Unless you;re marketing the blog title as more important, you can do this:

    <title><?php wp_title(); ?> <?php bloginfo('name'); ?> </title>
    Code (markup):
    That would put the page title first followed by the blog name. That would also resolve the empty title if the page that you;re looking at doesn't have any individual title like on the main home page.

    You should probably throw in a mark so something between the two function calls, just to make it more readable.

    Example:

    <title><?php wp_title(); ?> | <?php bloginfo('name'); ?> </title>
    Code (markup):
    Hope this helps,
    -drmike
     
    theapparatus, Nov 6, 2009 IP
  8. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Hai theapprauts

    Now almost done.
    i am happy with this code you gave
    tle><?php wp_title(); ?> <?php bloginfo('name'); ?> </title>
    Code (markup):
    last problem is
    how to remove this '»' character in post title?

    EDITED : iTS OK, I found the fix for that.
    <title><?php wp_title(''); ?> <?php bloginfo('name'); ?></title>
    Code (markup):
    Thank you so much for the gret support theapprauts :)
     
    Last edited: Nov 7, 2009
    afridy, Nov 7, 2009 IP
  9. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #9
    theapparatus, Nov 7, 2009 IP
  10. afridy

    afridy Well-Known Member

    Messages:
    810
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #10
    Thank you :)
     
    afridy, Nov 7, 2009 IP