Redirection to error 404 page
Posted: Mon Jul 14, 2008 9:42 am
Hi,
I have simple problem. I want users to be redirected to Error 404 page if they request non existing page (not a file). For example: user wants to get biography of his favourite actor, and because he does not want to click through the site, he simply write http://www.example.com/?actor=my-actor&page=biography into address line. That's ok. But when he makes a mistake and write http://www.example.com/?actor=my-actor&page=biogrpahy or so, I want him to be redirected to Error 404 page.
It's really not a problem for user, because header are not important for him but I want the same for robots. So it have to be correct way - robot must know that he crossed non existing page and get proper code.
Suddenly, I don't know how to solve it
Maybe it's just because I'm really tired today 
Thanks for help...
I have simple problem. I want users to be redirected to Error 404 page if they request non existing page (not a file). For example: user wants to get biography of his favourite actor, and because he does not want to click through the site, he simply write http://www.example.com/?actor=my-actor&page=biography into address line. That's ok. But when he makes a mistake and write http://www.example.com/?actor=my-actor&page=biogrpahy or so, I want him to be redirected to Error 404 page.
It's really not a problem for user, because header are not important for him but I want the same for robots. So it have to be correct way - robot must know that he crossed non existing page and get proper code.
Suddenly, I don't know how to solve it
Thanks for help...