Blogger Forums » Blogger Templates

How I Change Breadcrumb for Blogger / Blogspot

(2 posts)
  1. Luft

    new member
    Joined: Feb '11
    Posts: 1

    Hy,

    I want to create a blog with this features:
    8 pages where I put links to post pages to avoid labels which don't help me with optimisation because google block labels to avoid duplicate content, for example I have this 8 pages:

    # Development
    # DHTML
    # Fonts
    # Forms
    # Frames
    # htaccess
    # Images
    # Layouts

    In each of this pages I put links to post pages and
    I want to modified this breadcrumb:

    Home >> Label >> Post Name

    with

    Home >> Page >> Post Name

    for example: Home >> #Development(Page) >> Development Post Name

    I want to do that for all post pages; I want replace Label with Pages where is the link to the peculiar post page.

    For example I have #(Page) where I put link to #(Post Page) and when I enter in this post

    Breadcrumb look link this
    Home >> #(Page not label) >> Post Page

    How to change code from Breadcrumb for Blogger / Blogspot

    or if you have other suggestions I will be very grateful.

    Home >> Page >> Post Name

    This changes will be very good for blogspot optimisation because every post will link to his category(page who link to post page) and one link to home page.

    With great respect,
    Luft

    Posted 1 year ago #
  2. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    Labels are the only way to categorize your posts. So the work around would be to label your posts appropriately and then use the label name to decide the static page url to which it should refer to.

    1.Create these 5 Static pages
    2.It would have permalinks like blog.com/p/frames.html
    3.Now label your posts. When you label it, use the small case version of your page name. i.e you should be using frames,dhtml,fonts etc as your label names.
    4.Now tweak the breadcrumb code as follows
    Replace all occurrences of data:label.url with
    data:blog.homepageUrl + "p/" + data:label.name + ".html";

    It should do the trick for you

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.