Meta Refresh to Redirect

   Posted September 29, 2003 by David Kirk in HTTP

Last Updated on

This tech-recipe describes how to easily redirect a web visitor using meta refresh.

This recipe describes the meta refresh technique of redirecting users. By placing this tag in your head section of your html file, the user will be directed to another page after a set number of seconds.

<meta http-equiv="refresh" content="10; URL=">

By placing this code in the head of your page, visitors will be directed to tech-recipes after 10 secs. 0 secs will try to transfer the visitors as soon as possible.

Just change the url above and bounce your visitors to the correct page.

Using 301 redirects are much safer and are more search engine friendly.


About David Kirk

David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.
View more articles by David Kirk

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply