Ventana. Ubicación JavaScript PHP

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