How do i make it redirect when its on article?id=1
to index.php
this is just an example if you dont understand this maybe this example is better
<?php
if (header('location: article?id=1'==1))
{
header('location:index.php')
}
?>
Sorry for my noob coding and thanks to you all for helping me i have tried some different things that i thought might work but i want to know from someone who knows more than me