| Getting the accessed url from 404.shtml Hi all,
Lets say someone tries to access mydomain.com/page.html, when page.html doesn't exist on mydomain.com.
Currently I have a 404.shtml which catches all these errors and redirects them to "/".
Is there a way for the 404.shtml file to know which url was accessed ?
Basically what I'm looking for is that if someone wants mydomain.com/carrots.html, I will redirect him to mydomain.com/search.php?term=carrots.
Thanks
EDIT: nm .. I think I can do it with mod rewrite
Last edited by madcamel; 06-28-2006 at 08:50 AM.
Reason: Automerged Doublepost
|