Files
2026-09-15 13:25:48 +02:00

8 lines
312 B
PHP

<?php
$__host = strtolower($_SERVER['HTTP_HOST'] ?? '');
$__base = (strpos($__host, 'alba-zochling.hu') !== false
|| strpos($__host, 'localhost') !== false
|| strpos($__host, '127.0.0.1') !== false) ? '' : 'https://www.alba-zochling.hu';
header('Location: ' . $__base . '/hu/', true, 301);
exit;