The statement "$outitgoes = $outitgoesa || $outitgoesb;" will set $outitgoes to either (boolean) true or false (true in this case). Then when you check with strpos() to see whether it's part of the string, you're actually checking for a boolean value. No string will contain a boolean value; it's a string, after all.
So use mjax's code, or, slighty more concise:
$outitgoes = '[url]';
if (strpos(strtolower($Comments), $outitgoes) !== false) {
header("Location: $errorurl");
exit;
}
And always make a type-strict comparison between false and strpos(), since strpos() may return 0 (1st character) which otherwise would resolve to false.