change soft 404 nito hard 404
This commit is contained in:
@@ -3398,6 +3398,7 @@ function nonExistentBibEntryError() {
|
|||||||
/** handles queries with no result */
|
/** handles queries with no result */
|
||||||
class NotFoundDisplay {
|
class NotFoundDisplay {
|
||||||
function display() {
|
function display() {
|
||||||
|
header('HTTP/1.1 404 Not found');
|
||||||
echo '<span class="count">'.__('Sorry, no results for this query').'</span>';
|
echo '<span class="count">'.__('Sorry, no results for this query').'</span>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user