On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković <ndusan@xxxxxxxxx> wrote: > Hi, > > Is there some elegant solution how to redirect if someone try to open > some non existing page (e.g www.domain.com/nonexistingpage.php) to > main page www.domain.com on website? > > thnx, Dusan > > -- > made by Dusan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Google for "apache 404 redirect" and read around a bit. Checkout the documentation on apache.org as well. -- Kyle Terry | www.kyleterry.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php