I am building a website which includes a login page. I need to redirect the user to their profile page once they\'ve logged in successfully, but I don\'t know how to do that
header won't work for all
header
Use below simple code
location.href='new_url'; "; exit; ?>