Is there a way to automatically redirect links to the attachment page back to the post they are associated with?
I'm using a lightbox effect for galleries, but the problem arises when thumbnail images of a gallery are clicked in an RSS reader. This takes them to the attachment page:
But, I would rather it take them to the post page to use the lightbox effect and keep all comments on the post instead of individual images:
I've styled the image attachment page for aesthetics sake, but I would prefer they land on the post page.
Any suggestions? Thanks.