8 Sep
2004
8 Sep
'04
2:02 p.m.
Hi, all, I know this isn't a Plone list, but I have what I think is a general question that also relates to Zope. I'm trying to intercept the 404 error in a Plone website and redirect the user to another page/website . I have already tried to put something like this <tal:block tal:define="dummy python:request.RESPONSE.redirect('http://www.google.be')"/> in /portal_skins/custom/default_error_message but it seems that won't work because at that point it's too late to send a redirect. What can I do to achieve a redirect ? Thanks in advance Bert De Ridder