Support » Plugin: Yoast SEO: Search Index Purge » Why does the 410 response contain content?

  • I’m getting a lot of issues mail from google after installing this plugin.

    I’m curious why there is a render_file function in /src/Yoast_Purge_Attachment_Page_Server.php.

    When sending a HTTP 410 Gone response the response don’t have to contain any content because this response is indicating that the ressource is not found on the server and the server doesn’t know a fallback.

    If you want to show the image you should send a HTTP 301 Header with the correct location. This header should also contain no content.

  • The topic ‘Why does the 410 response contain content?’ is closed to new replies.