Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

HTML redirect, a guide to use it

Date: 2011-05-10 00:00:00 -0400

Introduction

There are a lot of ways to perform url redirects, one of them is the HTML redirect it is maybe not the best one, but it certainly is one of the easiest.

How to do a HTML redirect

Here is a simple example of a HTML redirect:

<META HTTP-EQUIV="refresh" CONTENT="2;URL=http://www.example.com/example.html">

This code should be between <head> and </head>.

According to Wikipedia:

This method is considered by the W3C to be a poor method of redirection, since it does not communicate any information about either the original or new resource, to the browser (or search engine)

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.