Skip to content Skip to sidebar Skip to footer

Replace Current Url Without Redirecting

Basically I have 3 pages. Homepage Attempt page Redirect page When the user clicks on Attempt button, he is forwarded to Redirect page which opens a popup window for him using, w

Solution 1:

Why does the user have to go through the attempt page to get to the redirect page initially?

Can you simply make the button on the homepage take them to the redirect page directly which when using window.location.replace() will remove the redirect page from history and make the back button on the attempt page take them back to the homepage?

Post a Comment for "Replace Current Url Without Redirecting"