Skip to content

Redirecting in HTML

If your website has moved to another place, it is useful to add a redirect. This can be done by adding the following line between the and tag of your homepage :

   <meta HTTP-EQUIV="REFRESH" content="10; url=http://www.your_redirect_url">

The url ‘www.your_redirect_url’ has to be changed so that it points to your new location. The content parameter indicates how long is paused before redirecting. This parameter, which has a value of 10 here, can be changed.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*