Audit WordPress attachment pages: Redirect pages without deleting images
An attachment page and its image file have different URLs. Check the defaults for new and existing WordPress sites, public redirects and indexing rules while preserving the media your content needs.