Re: Redirecting from unreachable page on website

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Heyes schreef:
>> ...
> 
> Really, for URLs that don't exist you should be showing a 404, This
> way the user doesn't falsely believe that the URL is a valid one and
> keep using it. 

if the invalid URL (which outputs a 404 header) then automatically redirects
to another URL then I think it's pretty clear that the original invalid
URL is not being shown, even grandma understands the change in the addressbar
(which is normally highlighted by a background progress-bar effect).

technically you are right, often there are reasons for doing it wrong ...
usually we refer to them as clients :-P

> By using the ErrorDocument directive like Per
> suggested, you can customise it to be distinct helpful, like this:
> 
> http://www.phpguru.org/oh%20crap
> 
> Using this method allows users to easily get to where they actually
> need to be, plus you can potentially promote anything of yours that
> you want to.

yeehaw promote some crap I don't want ... we don't have enough of that on
the tubes ... chocolate-covered adWord anyone? :-D



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux