HTML - 302 redirect from one web page to another web page

Let's say you have two web pages:


The following HTML can be used to redirect requests for to This HTML markup would be placed in the <head> of foo.html.

  <meta HTTP-EQUIV="REFRESH" content="0; url=">


The web servers access log should capture the 302 status, like this. - - [10/Oct/2020:21:36:16 -0400] "GET /foo.html HTTP/1.1" 302 4153 130989 +


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 48d81 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |