If you want to redirect your visitors to a new page place the following HTML redirect code between the and tags of your HTML code.
window.location.replace(…) is the best option for an HTTP redirect.
Redirect clicking on a link
window.location.href = “http://myurl.domain”;
jQuery Redirect: It is better than using window.location.href =, because replace() does not put the originating page in the session history.
If you want to simulate an HTTP redirect, use location.replace.
var myurl = “http://myurl.domain”;
window.location.href = ‘myurl’;