Forum Discussion
Tom_Thunem_9204
Nimbostratus
Nov 17, 2009404 errors on google search
we are trying to figure out how to get an error back to google other than a 404. as you know when they get a 404 pages aren't indexed at google thus losing exposure of your sites in google searches. has a method been devised to address this? haven't found anything in this forum thus far.
thanks
1 Reply
- hoolio
Cirrostratus
Hi Tom,
You can check for a 404 response code from the pool member in HTTP_RESPONSE using [HTTP::status]==404. What do you want to do if one is found? You could use HTTP::respond to send back a new response code and content. You could use HTTP::redirect but I'm not sure how a search engine spider would interpret a 30x redirect compared with a 404. Or you could select a new pool member or pool if you think the content might exist somewhere else.
You can check the HTTP wiki page for details on these commands (Click here).
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
