Posted On: Feb 22, 2018
You can add 301 redirect in PHP by adding below code snippet in your file.
header("HTTP/1.1 301 Moved Permanently"); header("Location: /option-a"); exit();
Never Miss an Articles from us.
In PHP == is equal operator and returns TRUE if $a is equal to $b after type juggling and === is Identical operator and return TRUE if $a is equal to $b, and they are of the same data type...