redirect to website javascript
snippet in javascript

redirect to website javascript

user7889

window.location.href = "http://mywebsite.com/home.html";

redirect with javascript

user8824

window.location.replace('http://mywebsite.com/home.html');