Sorry.. occasionly I have to make a living..😉
Two ideas, try this one first:
You’re going to be rolling your own links and then doing some extra logic on the single entry page.
Link while on category page:
<ahref="index.php/template_group/{segment_3}/{url_title}/">{title}</a>
That assumes the category URL title is in segment 3 position, adjust if not. Also that link has to be created within a weblog:entries loop where the url title and title variables are available.
Then on detail page:
You just came from the {segment_2_category_name} category
That code assumes Lows Seg2Cat is installed.
and then
{exp:weblog:entries weblog="weblog" dynamic="off" url_title="segment_3"}
stuff
{/exp:weblog:entries}
The second idea is to tack the category url title on after the entry url title -which might also work but won’t look as right.