redirect to homepage php code example
Example: redirect to site php
//Write this in the Controller when working on Laravel.
header('Location: http://www.example.com/');
exit;
//Write this in the Controller when working on Laravel.
header('Location: http://www.example.com/');
exit;