Adres satırından gelen
index.php?sayfa=1 ise bir şey yapma
adres satırından gelen
index.php?sayfa=2, index.php?sayfa=3 vs ise
orneksayfa.php ye yönlendir. İşlemini php de nasıl yapabilirim.
if ($_GET["sayfa"]!=1) {
header("Location: orneksayfa.php");
}Bu şekilde bir deneyin hocam.