JQuery mengarahkan ke URL
$(location).attr('href', 'https://google.com');
Carnivorous Flamingo
$(location).attr('href', 'https://google.com');
window.location.replace("/target-uri");