I am using symfony 1.4.
I need to redirect certain urls when 404 error occurs. Let's say user is looking for a url http://example.com/oldurl and it doesn't exist I want to check if this url is set for redirect. If url is set to be redirected I would like to redirect it to that url.
QUESTION: Which event should I hook into to get info about the requested url, that got redirected to 404 error page ?
P.S We only want to check for redirection if page doesn't exist. We do not want to run "the check" for every request, only when page not found!
thanks a lot!