Am using the below code to redirect if the url string matches how ever the code is throwing "Warning: Use of undefined constant" error also the code does not work if the String is Case Sensitive, Please help me solve this issue (php version 7.2)
<?php
if(isset($_GET['Keyword'])){
if($_GET['Keyword'] == Test){
header('Location: http://www.anotherURL.com');
exit ();
}
}
?>