How redirection works in HTML


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

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

Open in new window

Appreciate if someone can help me to understand what it does. Thanks!
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:

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.
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.