Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8594191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:08:39+00:00 2026-06-12T00:08:39+00:00

I have a page that will only redirect the user to a certain page

  • 0

I have a page that will only redirect the user to a certain page depending on some parameters. So this page will always redirect the visitor.

The problem is when the visitor arrives on this page using the back button. He/She will just be redirected on the page where he/she just clicked the backbutton.

The context: Three pages: A, B and C

On page A i click a link to go to page B. page B will simply redirect me to page C.

The Problem: Click back on page C. I go to page B for a few seconds but then i’m redirected back to page C

As it should be: On Page C, I want to go to page A when i click the back button.

I thought i could use Request.UrlReferrer but this contains the url of page A

Is there any cross browser sollution that will let me do this?

I would prefer a server side sollution, but I’m open for client side too.

EDIT: I just had the idea that it may be possible to replace the entry in the browser history of page B with page A on the moment when the visitor is redirecet to page C. But i don’t know if this is possible and allowed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:08:40+00:00Added an answer on June 12, 2026 at 12:08 am

    Try this

    History.js

    History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.

    https://github.com/browserstate/history.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm have a page that will be used (and hence styled) only for printing.
I have a mobile script from detectmobilebrowsers.com that will redirect the user to my
I have a page that will basically be used to concatenate a bunch of
I have a page that will have a full size product image and 4
I have a page a query that will set a table to 0 or
I have an asp.net page that calls a dll that will start a long
I have to do a asp.net web page that when load will say something
I am loading content into a page with ajax that will have live click
I have a script that will get images from page, but how do I
I'm creating a WP theme that will have two sections midway down the page.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.