We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$subject = $_SERVER["REQUEST_URI"]; $pattern = '/\/\/+/'; $countReplace = 0; $replaced_url = preg_replace($pattern, '/', $subject, -1, $countReplace); if ($countReplace > 0) LocalRedirect($replaced_url, false, '301 Moved Permanently');