• Resolved Anonymous User 14978628

    (@anonymized-14978628)


    Hi Peter,

    Thanks for this plugin, it looks like just what i need.

    Would you please consider changing the response from 404 to 410?

    The trouble with 404 is that if attachment pages have already been indexed, then 404 won’t necessarily remove them as 404 leaves open the possibility that the resource could return at some point.

    410 is a better response in such cases as it means the resource is permanently gone. After a few months Google should stop trying to access the resource, whereas with a 404 response it could continue trying indefinitely.

    I don’t use it, but this is why the Yoast extension (https://wordpress.org/plugins/yoast-seo-search-index-purge/) returns the 410 response instead of 404.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Peter Raschendorfer

    (@petersplugins)

    Thanks a lot for this great input. I’m aware of the difference between HTTP 404 and 410, but so far I simply had not thought of using 410. Sending back HTTP code 404 with WordPress is easy. Sending back a 410 instead takes some more effort. But this is a very useful improvement that I’ll definitely implement. It only will take a while until I have time for it.

    Regards,
    Peter

    Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Thanks Peter, that’s great to hear. I look forward to it!

    Plugin Author Peter Raschendorfer

    (@petersplugins)

    Finally, version 3 is available for download now and introduces an option to use HTTP 410 instead of 404. It worked fine in my tests but please do me a favor and confirm, it works for you also.

    Regards,
    Peter

    Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Hi Peter, this seems to be working well. Thanks for the update!

    Plugin Author Peter Raschendorfer

    (@petersplugins)

    Thanks for your feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change 404 to 410’ is closed to new replies.