The best way to explain what I would like to do is probably by looking at the code below:
Latest Comments
{exp:comment:entries sort="desc" orderby="date" limit="10" dynamic="off" weblog="drugs"}
By {name} on {comment_date format="%d/%m/%Y"}
<a href="http://{url_title_path=drugs/CATEGORY-URL-TITLE-OR-NAME-GOES-HERE}">View entry</a>.
{/exp:comment:entries}I’m listing the 10 most recent comments on our site, that function is fine but linking to the relevant article is not. Our site URLs look like this: site.com/weblog-name/category-name/article-title
I can list the comments and have them link to site.com/weblog-name/article-name but on our site that is the wrong URL and gives a 404.
Is there any workaround for this? Any help would be greatly appreciated.