I would to add category in the Low Search Url result.

On my page result appears the Channel name and the entry name:


But i would insert the categories:


I'm using this:

{exp:low_search:results query="{segment_2}"}
      <a href="{comment_url_title_auto_path}">{title}</a>

I tried but without success Thanks,


  • Which part of the URL are you trying to use for the search? The channel, the category, or the entry?
    – Ian Young
    Commented Jan 8, 2014 at 21:55
  • its the category i would insert before the entry. i didnt remenber the {categories}/{category_url_title}{/categories}.
    – Stéphane
    Commented Jan 9, 2014 at 13:57

1 Answer 1


You'd have to construct it yourself, most likely with the native {categories} var pair. Something like this:

{exp:low_search:results query="{segment_2}"}
    <a href="/recipes{categories}/{category_url_title}{/categories}/{url_title}">

However, you can imagine how that turns out if your entry has a lot of categories. Also, I'm not sure if the {categories} var pair respects the order of the categories, based on parent/child relationship. It might be necessary to look for an add-on that gives you more control over the output of the entry's categories.

  • Thanks a lot Low, I ever used it but I was confused with many EE syntax. Now it`s more clear!!!!
    – Stéphane
    Commented Jan 9, 2014 at 13:51
  • We use GWcode Categories for outputting an entries categories. Much easier to control child / parent categories etc
    – Jason Mayo
    Commented Sep 29, 2014 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.