Skip to content
Browse files

If product not found send 404 header error to avoid duplicate content

  • Loading branch information...
1 parent 5f6c456 commit 95d9e42d20c5d0d24a5ee5348c86ecb082417a63 unknown committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 catalog/product_info.php
View
1 catalog/product_info.php
@@ -20,6 +20,7 @@
require(DIR_WS_INCLUDES . 'template_top.php');
if ($product_check['total'] < 1) {
+ header('HTTP/1.1 404 Not Found');
?>
<div class="contentContainer">

0 comments on commit 95d9e42

Please sign in to comment.
Something went wrong with that request. Please try again.