Re: Redirecting from unreachable page on website

From: Date: Wed, 21 Jan 2009 18:15:40 +0000
Subject: Re: Redirecting from unreachable page on website
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-286921@lists.php.net to get a copy of this message
2009/1/21 Kyle Terry <kyle@kyleterry.com>: > On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković <ndusan@gmail.com> 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 > That was assuming you are using apache by the way. What web server are you using? -- Kyle Terry | www.kyleterry.com

« previous php.general (#286921) next »