Add subcategory into link generation