My URL is http://localhost:8888/eedemo/movies/entry
Movies is a template group. Entry is the template within it. The entry template shows the actual entry and the entry is attached to a category in a movies channel.
On the entry template, I have this code that is correctly outputting the category name using this code:
{exp:channel:entries channel="movies"}
<div class="category">
{categories}
<a href="http://{path=movies/wiki/{category_url_title}}">{category_name}</a>
{/categories}
</div> <!-- end category -->
{/exp:channel:entries}As you can see {category_url_title} is not getting parsed.
Category name is correctly outputting thriller as the category. The link however is outputting:
http://localhost:8888/eedemo/movies/wiki/{category_url_title/magazine/thriller}
I want it to output http://localhost:8888/eedemo/movies/wiki/thriller
What am I doing wrong? How do I fix this to point to the category this entry belongs to?