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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -