if ( $_SERVER['REQUEST_URI'] == sslolmasin.php )
{
$host = $_SERVER['HTTP_HOST'];
$istekdosya = $_SERVER['REQUEST_URI'];
$httpssiz = "http://" . $host . $istekdosya;
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: $httpssiz" );
exit;
}
?>
veya htaccess ile
RewriteCond %{HTTPS} off
RewriteCond %{SCRIPT_FILENAME} \/download\.php [NC]
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]
htaccess lazımdı bana teşekkür ederim