Javascript Location redirect function can be generated by using any of the location href or window location replace function to redirect the old URL to new location URL.
Javascript location replace function of DOM window object provides the functionality to replace the current URL with new location URL and also allows you to redirect the current URL. You ...