How redirection works in HTML

Hello,

I see following entry in index.html of ROOT directory in my apache-tomcat (location: /opt/apache-tomcat/current/webapps/ROOT/index.html)

<head>
        <meta http-equiv="refresh" content="0;URL=https://ip-10-10-10-10.ec2.internal/ir">
</head>

Open in new window


Appreciate if someone can help me to understand what it does. Thanks!
beer9Asked:
Who is Participating?
 
dsackerContract ERP Admin/ConsultantCommented:
The meta refresh tells a browser to automatically refresh the current web page after a time interval. Usually the content value is the number of seconds, generally in this format:

content="<seconds>"
However, you can also append a URL in the content, and the browser will redirect to that URL.

The format would be:

content="<seconds>;<optional URL>"
Since your content = zero seconds (0), the browser will immediately redirect to that web page.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.