Menu

HTML: URL Redirect Solution

HTML: URL Redirect Solution

If you want to redirect from HTML page without using any serverside script such as PHP, Ruby or ASP. You can achieve it with a single line HTML.

<meta http-equiv="refresh" content="0; url=http://example.com/" />

Place the code in the source page. It should be added between <head></head> tags.

The content attribute has two parts. The first one is the time in seconds before it redirects. Second part is the desired URL.