Redirect based on URL

From: Date: Thu, 17 Aug 2000 03:56:36 +0000
Subject: Redirect based on URL
Groups: php.general 
Request: Send a blank email to php-general+get-12143@lists.php.net to get a copy of this message
Hello all, I would really appreciate some help on this one. I am developing a site that stores listings of tour operators in a database. A tour operator can also have their own page on the site - but again it will be stored in a database. What I want to know - is there a nice way to find a tour operators page within the site without having to enter messy paths and query strings? EG instead of typing: www.mydomain.com/tours/list.php?id=2 or www.mydomain.com/tours/list.php?name=gannetsafaris I would prefer something like: www.mydomain.com/gannetsafaris and having it redirect; or something like www.mydomain.com/?page=gannetsafaris How do I get this to work? Is there a better way? Regards, Matthew

« previous php.general (#12143) next »