This[
^] is similar question asked in StackOverflow and the answer looks like it should work for you. The gist of that is, set a flag on confirmation page and check for that flag in the previous pages; If that flag is set, redirect the user to home "using header('Location: ...');".