Simple URL Redirect in HTML File

If you ever have to redirect from one website to another. In my instance I had hosted website where I did not have access to the Apache or IIS server so I had to do via a HTML code.

Here is an example in how to redirect call from one website to another. Simple create a file called index.html in the root of the web server and paste the below code and it will just work.

Sample code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>