Hi all, I was move or delete some subfolders from long running site, but _all_ search engines (google etc.) still does searching at these failed URLs for more than 2 months. Does somebody have correct error message that these search engines will respect? I do not mean redirect <dtml-call expr="RESPONSE.redirect('/notfound.html', lock=1)">, I want to set "something" into HTML header response. Many thanks Jaroslav Lukesh
I was move or delete some subfolders from long running site, but _all_ search engines (google etc.) still does searching at these failed URLs for more than 2 months.
Does somebody have correct error message that these search engines will respect?
AFAIK, Google needs 301 Moved permanently. More info is on the google site. Most search engines also have some docs where described what they need to remove page from index.
I was move or delete some subfolders from long running site, but _all_ search engines (google etc.) still does searching at these failed URLs for more than 2 months.
Does somebody have correct error message that these search engines will respect?
I do not mean redirect <dtml-call expr="RESPONSE.redirect('/notfound.html', lock=1)">, I want to set "something" into HTML header response.
Actually moving the object should give a 404, which a search engine should respect, when (and if) they get back around to it. If you want an actual HTTP redirect, there are Zope products that do this, like http://zope.org/Members/jccooper/movedObject You can also observe how it's done in the code of MovedObject if you want to do it yourself. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
J. Cameron Cooper wrote at 2003-9-24 23:07 -0500:
... If you want an actual HTTP redirect, there are Zope products that do this, like
http://zope.org/Members/jccooper/movedObject
You can also observe how it's done in the code of MovedObject if you want to do it yourself.
When you have Apache in front of Zope an Apache RewriteRule or RewriteMap may be the better solution. Dieter
participants (4)
-
Dieter Maurer -
J. Cameron Cooper -
Jaroslav Lukesh -
Sergey Volobuev