M1X1X1X
M1X1X1X
CDCloudflare Developers
Created by M1X1X1X on 5/16/2024 in #pages-help
How to set 410 response codes for deleted pages in Cloudflare Pages?
Never mind. John Mueller answered: “From our point of view, in the mid term/long term, a 404 is the same as a 410 for us. So in both of these cases, we drop those URLs from our index. We generally reduce crawling a little bit of those URLs so that we don’t spend too much time crawling things that we know don’t exist. The subtle difference here is that a 410 will sometimes fall out a little bit faster than a 404. But usually, we’re talking on the order of a couple days or so. So if you’re just removing content naturally, then that’s perfectly fine to use either one. If you’ve already removed this content long ago, then it’s already not indexed so it doesn’t matter for us if you use a 404 or 410.”
2 replies