How redirect a web page

How redirect a web page with HTML code? It’s very simple, just use the following code:

<meta http-equiv=”refresh” content=”10;URL=http:yourredirecthere.com”>

The URL is the destination website and “10” is the number of seconds to redirect the page.

This is very useful for 2 reason:

1. Show an alert when an user lick an external link on your website. You could show them a message like “You’are being redirect to an external website, even you could make a button to cancel the redirect.

2. The same thing like the last one but you could to show ads, in this way the redirect is like an ad shortened, like adf.ly.


Posted

in

by

Tags:

Comments

Leave a Reply