https://wordpress.org/plugins/attachment-pages-redirect/
Remove page created per media and redirect to page using the media.
Install - download zip and upload (plugin search does not work)
- don't need this if using SEOpress (it has redirection feature)
- Clearfy plugin also does this
attachment-pages-redirect