I guess you are looking for a breadcrumb functionality.
Rather than using different pages, could you use a single page, hide/show groups to show information previously stored in different pages, and just update the page URL parameter to account for the “page navigation” and extract the “page” info from the URL?