Blogger post title alone

Discussion in 'WordPress' started by shand0, Mar 15, 2008.

  1. #1
    shand0, Mar 15, 2008 IP
  2. tarendra

    tarendra Banned

    Messages:
    188
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ooops its blogspot, i thought wordpress
     
    tarendra, Mar 15, 2008 IP
  3. shand0

    shand0 Well-Known Member

    Messages:
    1,336
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    148
    #3
    Yes, and this is why I ask the question :D
     
    shand0, Mar 15, 2008 IP
  4. mann3r

    mann3r Peon

    Messages:
    1,416
    Likes Received:
    100
    Best Answers:
    0
    Trophy Points:
    0
    #4
    mann3r, Mar 15, 2008 IP
  5. kittyluver

    kittyluver Notable Member

    Messages:
    6,812
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    263
    #5
    Nice question raised by you. If the technique is known by all, then all the blogspot blog will get optimized. Any how see the following steps to change the title alone for your blogspot blog....

    Step 1-Goto Blogger Dashboard>>Layout>>Edit Html
    Step 2-Backup your template
    Step 3-Follow the instructions below

    Find this code in your XML template{in header}

    
    
    <title><data:blog.pagetitle/></title>
    
    Now replace it with
    
    <!-- Start Widget-based: Changing the Blogger Title Tag -->
    <b:if cond='data:blog.pageType == "item"'>
    <b:section id='titleTag'>
    <b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
    <b:includable id='comments' var='post'/>
    <b:includable id='postQuickEdit' var='post'/>
    <b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
    <b:includable id='backlinkDeleteIcon' var='backlink'/>
    <b:includable id='feedLinksBody' var='links'/>
    <b:includable id='backlinks' var='post'/>
    <b:includable id='status-message'/>
    <b:includable id='feedLinks'/>
    <b:includable id='nextprev'/>
    <b:includable id='commentDeleteIcon' var='comment'/>
    <b:includable id='post' var='post'><data:post.title/></b:includable>
    </b:widget>
    </b:section>
    <b:else/>
    <title><data:blog.pageTitle/></title>
    </b:if>
    <!-- End Widget-based: Changing the Blogger Title Tag -->
    
    
    Code (markup):
    Further more you can add a very good keyword in homepage's title by just adding Keyword + Blog Title by finding this line in the above code{3rd last}-

    
    
    <b:else/>
    <title><data:blog.pageTitle/></title>
    </b:if>
    
    
    Code (markup):
    and adding keyword here

    
    <b:else/>
    <title> <data:blog.pageTitle/>Keyword</title>
    </b:if>
    
    Code (markup):
    DONE!!!!
     
    kittyluver, Mar 15, 2008 IP
  6. shand0

    shand0 Well-Known Member

    Messages:
    1,336
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    148
    #6
    <b:section tag isn't accepted by blogger.com now, any other ideas.
     
    shand0, Mar 15, 2008 IP
  7. mann3r

    mann3r Peon

    Messages:
    1,416
    Likes Received:
    100
    Best Answers:
    0
    Trophy Points:
    0
    #7
    just place the code above before the <head
     
    mann3r, Mar 15, 2008 IP
  8. shand0

    shand0 Well-Known Member

    Messages:
    1,336
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    148
    #8
    It works now :D

    This trick changes the title to be in the following structure

    Blog Title ~ Post Title. Ok, it is very good for SEO, but can I make the post title alone without the blog title. thanks
     
    shand0, Mar 16, 2008 IP
  9. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Do we lose our Page Rank if apply this code?
     
    Bohol, Mar 16, 2008 IP
  10. shand0

    shand0 Well-Known Member

    Messages:
    1,336
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    148
    #10
    No, I have tested it
     
    shand0, Mar 16, 2008 IP