From: Roland Häder Date: Sun, 20 Jun 2010 21:19:07 +0000 (+0000) Subject: Possible fix while a spider/bot has issued a redirect X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c000dc2fd6552b96555f62ca3c77f23cd9d35fa4;p=mailer.git Possible fix while a spider/bot has issued a redirect --- diff --git a/inc/functions.php b/inc/functions.php index a1577f58a7..7fb03af448 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -987,6 +987,9 @@ function redirectToUrl ($URL, $allowSpider = true) { // Simple probe for bots/spiders from search engines if ((isSpider()) && ($allowSpider === true)) { + // Set HTTP-Status + setHttpStatus('200 OK'); + // Set content-type here to fix a missing array element setContentType('text/html');