Mobile app version of vmapp.org
Login or Join
Jamie184

: What's the best HTTP code for dynamically deleted pages? I've built my own CMS and I'm looking for the best way to handle pages / items deletion. Actually, pages and items were deleted and

@Jamie184

Posted in: #Code #HttpHeaders #Seo

I've built my own CMS and I'm looking for the best way to handle pages / items deletion.
Actually, pages and items were deleted and cannot be restored.

But since I have implemented a bin, I don't know how to do : 410 code is for deleted permanently. But, if the items may be restored later, is there a way to indicate this to robots?

I've heard that with 410/404 codes, we lose juice. Is there any way to avoid that?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jamie184

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jamie184

If a page has been deleted then it is correct to return a 410 (or 404).

If, however, it has been temporarily removed and the intention is to restore it at some point then it could be acceptable to return a 503 (Service Temporarily Unavailable) and preferably with a Retry-After HTTP response header indicating a date when the resource will be next available. You could do something similar if your site was down for planned maintenance and you wished to lessen the impact on search engines.

However, if a page is not going to be restored then you should ultimately return a 410.


I have heard that with 410/404 codes, we lose juice.


You are only losing link juice to the deleted page, which ... doesn't exist, so there's no page to pass link juice to anyway!?

If you don't return a 410 then search engines might hang on to the "deleted page" for an extended period of time, which might also be undesirable.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme