Categories and URLs, explained
Needing to set up categories for a project, I searched the Expression Engine forums, knowledge base, Wiki and user guide, but could not find a clear, explicit explanation of how exactly URLs in categories really function.
Max Boyink provided a great explanation. To start, let’s say you want to generate a list of category links.
{exp:weblog:entries weblog="ee-developer-articles"
dynamic="off" limit="5" orderby="date" sort="desc"}
<div class="sidebar-article">
<a href="{url_title_path=articles}">{title}</a>
</div>
{/exp:weblog:entries}
This code will generate the correct URLs:
http://www.yoursitehere.com/index.php/articles/list/category/sandwiches/





