Search This Blog

blogger: label search url

  • To search for the posts with label: "YourLabel":
        http://YourBlog.blogspot.com/search/label/YourLabel
    
  • For the labels contains blank space, e.g "Your Label", use %20 replace the space:
        http://YourBlog.blogspot.com/search/label/Your%20Label
    
  • To search for posts with multiple labels, e.g. Label1 and Label2:
        http://YourBlog.blogspot.com/search?q=label:Label1+label:Label2
    

Tips

  • You can use the label search urls as Top Tabs to categorize your posts.

13 comments:

  1. i tryed the multiple labels on 2 of my blogs it dosnt work url must be wrong

    ReplyDelete
    Replies
    1. Works for me. e.g.

      http://notepad2.blogspot.com.au/search?q=label:admin+label:mac

      returns the posts with both label admin and label mac.

      If your label contains white-space, your need to repalce it with %20 e.g. you have two labels: "Your Label1" and "Your Label2",

      http://YourBlog.blogspot.com/search?q=label:Your%20Label1+label:Your%20Label2

      Delete
    2. it just dosnt work on my blog i tryed many ways to place it

      Delete
  2. Effectively, it seems not to work with label containing space (even replacing it by %20 )

    Do you have a solution ?

    thanks

    ReplyDelete
  3. Thanks, works like a charm, been searching all morning for this.

    ReplyDelete
    Replies
    1. Well it looks like the others were correct the %20 doesn't seem to work anymore. I basically had to create a new label w/o the space and then attach it too all the existing posts.

      http://imagesunplugged.blogspot.com/search?q=label:Dark%20Horse+label:Solicits
      http://imagesunplugged.blogspot.com/search?q=label:DarkHorse+label:Solicits

      Delete
    2. One last thing, the old method I used allowed you to limit the number of results example;
      http://imagesunplugged.blogspot.com/search/label/DarkHorse?max-results=10
      I tried using the same ?max-results=10 but it returned no results. Do you know of a way to implement this search criteria, or does it have to just default to the template settings.

      Delete
  4. The search result show old posts first. How to change it?

    ReplyDelete
  5. Thank you. You save my day, i had to quickly search and i stumble of this while i mistakenly delete when working on my client blog @ www.praisecourt.blogspot.com

    ReplyDelete
  6. Finally found what i searched everywhere..Thanks for such good stuffs ..
    Regards,
    http://www.tarang.com.np

    ReplyDelete
  7. Cool. Do you know how to use a search form to include multiple labels (such as using check boxes)?

    ReplyDelete