I need to redirect users that visit a certain page without providing specific parameters in a query string. How to redirect users to another page the right way? So that the sear
if($condition){ header('Location: http://example.com'); exit(); }
will do it. Don't forget the exit()!
exit()