$_SERVER['HTTP_HOST'] bu şekilde kullanırmısın hocam

blog.php
$katid = isset($_GET['katid']) ? $_GET['katid'] : null; bu şekilde değiştir bi