Home>

We are creating a redirect page.

A: Original page

B: Redirect page

C: Redirect page

After being redirected from B to C
If i click Back in the browser, you will return from B to C again.
To make this appear from C to A
What should I do now?

Only A and B can change HTML.

  • Answer # 1

    I have a question about the prerequisites.

      

    After being redirected from B to C
      If you click Back in the browser, you will return from B to C again

    After experimenting, the browser returned to A.
    What are the redirect methods used?

    The method I have experimented with is using the Location header in B. It is as follows when written in PHP.