redirect all pages toa page in 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;