I have a page that lists all categories in my “products” weblog.
{exp:weblog:categories weblog="jewelry" style="linear" show_empty="yes"}
<a href="http://{path=products/category}">{category_name}</a>
<hr >
{/exp:weblog:categories}However, when I click on one to go to the category template and list all products in the given category, the resulting URL looks like this, instead of using the category_url_title which is, for example, “diamond_rings”
<a href="http://www.domain.com/index.php/products/category/C8/">http://www.domain.com/index.php/products/category/C8/</a>I want the URL to look like this:
<a href="http://www.domain.com/index.php/products/category/diamond_rings/">http://www.domain.com/index.php/products/category/diamond_rings/</a>The proper item is showing on that category page, but the URL just isn’t constructed using the SEO-friendly name.
Can someone give me some guidance here?
Even better, I’d honestly rather not show the “category” template name in the url title, but instead show the URL like this:
<a href="http://www.domain.com/index.php/products/diamond_rings/">http://www.domain.com/index.php/products/diamond_rings/</a>But I’ll live with having the category template name in the URL, if necessary.