Window.Location JavaScript PHP

window.location.href = 'https://stackoverflow.com';
Worrisome Wolf