php - Website reported as malicious because redirecting -
i have example site example.com in index.php i'm redirecting site
if ($_server['http_host'] == 'www.example.com') header('location: http://www.example.com/ru/'); antivirus detect redirecting malware, how change code that, antivirus not detect malware in redirecting ?
maybe way use .htacces rewrite:
rewriteengine on rewritebase /  rewritecond %{http_host} ^www\.example\.com$ rewriterule ^$ maindomain.com/ru [l] ?
may there script effecting use meta tag below:
echo '<meta http-equiv="refresh" content="0; ,url=http://www.example.com/ru">'; 
Comments
Post a Comment