Why the are content on the purged attachment pages
-
I’m a little bit confused.
I see that your plugin force the attachment pages to have a http 410 Gone header.
If the ressource is gone, there should be no content, but instead the attachment is shown.
As explained on https://www.checkupdown.com/status/E410.html the response is intended to tell the client, that the server knows that this ressource is no longer available and does not have a redirect.
Therefore I think the redirect code has to be 302 Redirect permanent which points to the correct url of the image.
e.g. https://www.bimarkt.de/cms/home/attachment/bimarkt-start-bg/ should point to https://www.bimarkt.de/cms/wp-content/uploads/2017/05/bimarkt-start-bg.jpg
- The topic ‘Why the are content on the purged attachment pages’ is closed to new replies.