The current "back to" link goes to the parent category & not the previous page.
On this page:
Click on the Collage tile (3rd in 1st row) & see how the "back to" link that takes you to the parent category & not the previous page.
Several of these posts belong to more than one category. I want the "back to link" on this page to go to the previous page, not the parent category that is sometimes one of 2 or 3 parent categories & not the previous page.
Can you show me how to edit the php file to fix this?
Attached is the current single_product.php file.