Missing 404 error Missing 404 error
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Missing 404 error

Started by Plazik, July 19, 2010, 03:58:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Plazik

Hello.
If the gallery no photos in the selected album, it should indicate that the page does not exist (404 error). In fact, there is page:
QuoteError
The selected album / file does not exist!
But this is not 404 error!
Therefore, these pages get into Google cache.
How can I do to on the page was a 404 error?

Αndré

Why should Coppermine display a 404 error? The file thumbnails.php exist. If you still want to display another message, enable debug mode and track back where the error message is thrown.

Plazik

Quote from: Αndré on July 19, 2010, 07:46:49 PM
Why should Coppermine display a 404 error? The file thumbnails.php exist. If you still want to display another message, enable debug mode and track back where the error message is thrown.
Because there is no file at this address. This page not found. Therefore, there must be an error 404.