Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Attachment redirection to parent post doesn't work #1243
The issue is a bit "tricky". Basically, if there is no parent post, it won't redirect (which is expected even though some would suggest that it could redirect to home page).
Then, if you have set the media parameters for noindex and saved, then set the redirection. This one isn't redirected and has the noindex tag. Then if you save again the metas parameters (media configuration won't be available if redirection is active), this will remove the previous setting to noindex media and they will become indexable. So you'll end up with orphan attachment that are indexed and you can't prevent this through configuration.