my php site is redirecting to another site 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;