Answer the question
In order to leave comments, you need to log in
How to return the response code 200, but at the same time to have a redirect?
Came across one page.
It redirects to another page instantly. But at the same time, it returns a code not 301 or 302, but 200.
Content-Type: text/html
How did they manage to do this?
Answer the question
In order to leave comments, you need to log in
<html>
<head>
<meta http-equiv="Refresh" content="0; url=http://www.example.com/" />
</head>
<body>
</body>
</html>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question