Forum Moderators: phranque
Can you suggest a way for me to do that? Is there anything I could perhaps drop into the skin template on error pages that would trigger my server to produce the correct response?
Can you suggest a way for me to do that? Is there anything I could perhaps drop into the skin template on error pages that would trigger my server to produce the correct response?
Interesting you should bring this topic up. My team and I were discussing this just yesterday.
We've built a cart and are looking at the technical intricacies of returning the proper server headers. What we've decided to do is set up a system that allows the user to specify the status of the product. From that status, the server header is generated. It could be a 301, 302 or 410. The SE's have stated that they basically handle a 410 the same as a 404 which is wrong. But, if they ever do decide to handle it properly, I'll be that much further ahead.
If I delete a product and know that product will never return to that resource URI, then it is 410 Gone. Request it once, get the 410, and never request it again.
[edited by: Asia_Expat at 8:04 am (utc) on June 26, 2007]
Yes, I want to use the custom 404 but how to automatically direct deleted topic to a 404 page... the forum software just leave the topic address online and says 'This topic has gone' to the user but says 200 to the bots. I can't set up an individual redirect for each topic that gets deleted, it would be a nightmare.