Tech and travel

Redirecting in HTML

2002-10-22

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 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.

Copyright (c) 2024 Michel Hollands